Hiya Stetim (I know you'll be the one to reply )
Having learned about 'while' loops now, I was wondering in what order does code execute?
So it goes from the top of the module down to the bottom, then it encounters the 'while' loop. It loops through it once (it will loop through it again because the condition for it to stop hasn't been fulfilled yet). But before that, does it execute whatever comes after the 'while' loop?
foobar = 1 while foobar <= 10: print(foobar) foobar = foobar + 1 # Some other pretend code
Does '# Some other pretend code' get executed in-between each 'while' loop or not?