What is the output ,how it's executing explain | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the output ,how it's executing explain

i=1 While True: If i%0O==0: break Print (i) i+=1

28th Feb 2021, 5:34 AM
Ramana Prasad j
Ramana Prasad j - avatar
1 Answer
+ 5
Syntax and Keyword capitalization aside, what is "0O"? while True will create an infinite loop, then that condition inside will be your terminator, if it is True then the loop will break and end.
28th Feb 2021, 6:15 AM
noteve
noteve - avatar