#Below is a welcome message to the user.
print ("Welcome to Smiths Cleaners, offering the best dry-cleaning
service around!\n")
#Statement to determine if the customers input name is valid
while True:
name=input("What is the customers name? ").lower()
if name.isalpha() or name.split():
break
print ("invalid input")
print ("\nBelow is the price table for the services available for", name.capitalize() )
I am trying to do it so that if the user inputs anything without a capital beginning, it will change the confirmation of the name with a capital however the major issue which i am having is to show the error if the user inputs a number or character (, or : etc)