6 Answers
+ 1
you didnt even define what "I" is
+ 1
bardya, you cant use a variable without passing a value to it but you can use i in for loops to pass the amount of numbers in an array(etc.) but you didnt use i for anything like that. replace print(I) with print(x) and add line x-=x to make it stop.
+ 1
i=1
while i<5:
i=i+1
print(i)
2
3
4
0
sorry my mean (i)
0
You didn't define i
0
yes,
now I can't use multi line such as for , while ,... .
when I type this:
>>>i=1
>>>while i<5 :
...print(i)
when press enter to write i=i+1
the program running and shaw error