how to check if string is alpha in list python code example Example: isaplha in python str = "abc" print(str.isalpha())