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

printable version

Test 2

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

Problem X2.1.

[8 pts] What is the output of the following program?

a = '0'
for i in range(4):
    a = a + 'i'
    print(a)