0
How does this if inside while works explain me?
6 Respostas
+ 2
Madhuri Reddy Do you have any example code
+ 1
Can you elaborate your question
+ 1
Tq so much nw I got
0
I didn't understand how break statement works inside the while loop?,can help me out
0
i = 0
while 1==1:
print(i)
i = i + 1
if i >= 5:
print("Breaking")
break
Print("finished")