+ 1
I can't print finished at last , don't know why ?
i=0 while 1==1: print(i) i=i+1 if i<=5: print("breaking") break print("finished") then pushed enter and so on : file "<stdin>" , line 7 print("finished") ^
3 Antworten
+ 2
It works fine. Maybe you added an extra symbol in a previous line somewhere in the code you ran.
+ 2
its printing
0
Breaking
finished
0
reza please call me 09015141312 thannks