Skip to content Skip to sidebar Skip to footer

Python: While Loop Unending

I am trying to get a conditioned while with or statements for an assignment for a game programming class. I am trying to use a loop something like this. They are not exactly like t

Solution 1:

Try

While True:
    tempstr = input("Type anything ")
    if tempstr.lower()  == 'b':
        break

Post a Comment for "Python: While Loop Unending"