not staments python 1

not staments python

thingie == 1
while not (thingie == 0):
  //do somthing

Here is what the above code is Doing:
1. It’s creating a variable called thingie and setting it to 1.
2. It’s creating a while loop that will run as long as thingie is not equal to 0.
3. It’s doing something.
4. It’s not changing the value of thingie.

So, the while loop will run forever.

Similar Posts