python - 2 while loops follow one another? -


is possible if want make 2 while loops follow each other. ex, after 1st loops end, 2nd loops begin. , insert string (with print command) in middle?

i used python 3.4.3

yes, of course. put statements in order want them execute, usual.

while (something):     pass  print(whatever)  while (another thing):     pass 

Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -