how to check if there is a character 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