write a program that uses input to prompt a user for their name
Expert's answer
whileTrue:
# Prompt user to enter their name
name = input('Enter your name: ')
# Name field cannot be emptyiflen(name) > 0:
breakelse:
print('Field cannot be empty. Try again...')