Skip to content

Tag: while-loop

Loop through variable in python

Please forgive me… new to python and first question on stack. I’m trying to accomplish two things with while loop: increment round number (i’m doing this successfully) have the loop iterate over my variable “fruits” to print the first fruit on round one and second fruit on round …

How can I end the while loop in my code below? [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 11 …

How to keep running a nested While in python

I have a pygame. in it there are a few nested while loops, running all of them one time accomplish one round, how do I keep rounds going and going, never stop? Repeat{I have a pygame. in it there are a few nested while loops, running all of them one time accomplish one round, how do I keep rounds going