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 -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -