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