Question 11 mark
What does this program print?
total = 0
for i in range(1, 5):
if i % 2 == 0:
total = total + i
print(total)
The only interactive course with a tutor that finds your weak spots and fixes them.
What does this program print?
total = 0
for i in range(1, 5):
if i % 2 == 0:
total = total + i
print(total)