CSci 150: Foundations of computer science
Home Syllabus Readings Projects Tests

printable version

Test 1 Review B

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Problem R1b.1.

Write a Python fragment that creates a list named powers containing the first 100 powers of 2: 1, 2, 4, 8,….