- 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

8th Jan 2022, 5:58 AM
Damodar Dhakad
Damodar Dhakad - avatar
1 Réponse
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
8th Jan 2022, 7:20 AM
JaScript
JaScript - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes