0
While + input()
How can I save the input ( ) the user gives when it's in a while circle ? ex : while input( ) != ('Stop') : etc... Thanks :)
1 Antwort
+ 1
print("Please is you need to quit, type 'Stop'")
answer = input("Tell me your name? ")
while answer != 'Stop':
'''do something with the answer'''
print("Hello " + answer)
answer = input("Tell me another name? ")
print("Ending program")