0
Am I the only one getting 'Skipping 2' as an the output? for the following program in python:
i = 0 while True: i = i +1 if i == 2: print("Skipping 2") continue if i == 5: print("Breaking") break print(i) print("Finished")
8 Réponses
0
what language ?
put ur code in play ground so we could test it ....
0
doesn't run on python for some reason (desktop that is).
0
copy ur code in play ground.....
0
The code itself is correct (works for me) As already suggested, paste in playground and post it here.
0
In the code above 'print(i)' towards the end seems redundant.
0
your not gonna put your code in playground, r u ?!😐
0
I have. Never mind my last question. It too was redundant it seems.
0
well , then send a link of your code here!!!