how to see if a letter is in a string python code example
Example 1: python check if character is letter
>>> 'A'.isalpha()
True
>>> '1'.isalpha()
False
Example 2: python check if string in string
if "blah" not in somestring:
continue
>>> 'A'.isalpha()
True
>>> '1'.isalpha()
False
if "blah" not in somestring:
continue