user_name = input("Please enter city name to run the program: ")
while( user_name != "Nope" ):
print("Nice to meet you ", user_name )
user_name = input("Please enter a name or type Nope to terminate the program: ")
I hope this helps!
4.5m questions
5.8m answers