Quizzma Latest Questions

In the following code, what will be the last number to print to the screen before the program finishes?

Anonymous

In the following code, what will be the last number to print to the screen before the program finishes?

The code provided is:

python
for i in range(10):
if i % 2 == 0:
print(i)
else:
print(2 * i)



Leave an answer

Leave an answer

Related Questions