+ 2
what's wrong here?
2 Answers
+ 7
The execution of while loop never stops because the condition you passed always returns true..You may write i+=1to fix it
0
first you must remove the "global x", then the program will execute but it has infinity loop