How can I check if character in a string is a letter? (Python)
How can I check if character in a string is a letter? (Python) Question: I know about islower and isupper, but can you check whether or not that character is a letter? For Example: >>> s = ‘abcdefg’ >>> s2 = ‘123abcd’ >>> s3 = ‘abcDEFG’ >>> s[0].islower() True >>> s2[0].islower() False >>> s3[0].islower() True …