python how to check is char or not code example Example: isaplha in python str = "abc" print(str.isalpha())