write a program that uses input to prompt a user for their name
1
Expert's answer
2020-04-29T13:58:10-0400
while True:
# Prompt user to enter their name
name = input('Enter your name: ')
# Name field cannot be empty
if len(name) > 0:
break
else:
print('Field cannot be empty. Try again...')
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment