x in range (100) while x==0: x+=1 if x ==10: break print(x) print(x) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

x in range (100) while x==0: x+=1 if x ==10: break print(x) print(x)

Why does the break shows outside the loop and for continue it also happens....plz help...i am totally not clear about the break and continue loops😥

30th Sep 2020, 10:45 AM
Muhtasinul
Muhtasinul - avatar
1 Answer
0
Hi ,write question in question title and describe your problem with code in description section not the opposite I am sure that break is inside a for loop ,also format your code properly with language name in tags
30th Sep 2020, 10:50 AM
Abhay
Abhay - avatar