how to use isalpha on string code example Example: isaplha in python str = "abc" print(str.isalpha())