Is there a way to make multiple lines of code loop if a variable is a specific string?
I am making a random number game (yes unoriginal I know) and wanted to make the game loop if you said yes if you wanted to play again
here’s the code
How can I use a Python loop to make this? [closed]
Closed 20 mins ago.
Phyton – How to logic loop with phyton like this [closed]
Closed 3 mins ago.
how do i fix this kind of error, unboundLocalError
def address(): inputName = input(“Enter Name: “) inputAddress = input(“Enter address: “) return inputName return inputAddress def nextPerson(): next = input(“Next Person to register? type Yes or No: “) if next == “yes”: address = inputAddress() name = inputName() nextPerson() else: pass this should get the user inputs name and address and display inputs. if […]