0
Am I doing something wrong?
When I do loops, the output is always 1 Finished! 2 Finished! 3 Finished! etc...
3 odpowiedzi
+ 7
Sounds like a case of mis-indentation of statement for printing "Finished", causing it to be included into the loop.
+ 4
it will best to see what you are doing dan so we can help
so please post your code here then we see
0
if I understand correctly .. you want a code that shows the number in a certain range, then print finished :
for a in range (4):
print (a)
print("finished")