A for loop counts down in steps of three, and then shows the last value that the loop variable had. for i in range(10, 2, -3): print(i, end=",") print(i) What does the program print?
for
10,7,4,4
10,7,4,2
10,7,4,1
10,7,4,3
Log in to join the discussion.
Loading…