1# ask for a name
2answer = input("Please enter your name:")
3
4# make sure it consists of only alphabetical characters (a-z/A-Z)
5# assert <condition: bool>, <Error message: str>
6assert all([1 if char.isalpha() else 0 for char in answer]) == True, "Please make sure your name consist of only alphabetical characters."