- 1
Anyone can Explain This, what shoud we the output and how
i = 5 while True: print(i) i = i - 1 if i <= 2: break
1 Answer
0
With break is the loop left. You can see that here. Play with this code and see what happend.
https://code.sololearn.com/czS3B57S2ycx/?ref=app