does macos count characters differently isalpha python code example Example: isaplha in python str = "abc" print(str.isalpha())