Write a program that asks the user to enter a name, and then prints Nice to meet you NAME. Your program should repeat these steps until the user inputs Nope.
1
Expert's answer
2019-12-16T14:47:12-0500
while True:
user_name = input('Enter your name, please. If you want to stop program, enter "Nope": ')
if user_name == 'Nope':
break
print('Nice to meet you {}'.format(user_name))
Comments
Leave a comment