What is the isLetter() equivalent in Python

1 Answer

0 votes
print('a'.isalpha())
print('Y'.isalpha())

print('2'.isalpha())

print(':'.isalpha())



'''
run:

True
True
False
False

'''

 



answered Aug 23, 2022 by avibootz

Related questions

1 answer 308 views
308 views asked Aug 7, 2021 by avibootz
1 answer 314 views
1 answer 205 views
4 answers 512 views
6 answers 762 views
1 answer 324 views
1 answer 317 views
...