Your task is to create a program which takes a string, and if it contains any numbers, symbols or other non-letter characters, it throws an error. Else, it returns the original string. (The string may include whitespace)
("Letters" are a-z and A-Z)
Examples:
Input: My name is Joe
Output My name is Joe
Input: My username is Joe32
Output: (insert an error)
(FYI this question has nothing to do with Don't Google google. It was identified as a possible copy.)
stdin
? \$\endgroup\$