Answers for "python program to find whether the character is number or not"

2

python check if character is letter

>>> 'A'.isalpha()
True
>>> '1'.isalpha()
False
Posted by: Guest on October-19-2020
1

test if character is number python string

>>> 'A'.isdigit()
False
>>> '1'.isdigit()
True
Posted by: Guest on October-19-2020

Code answers related to "python program to find whether the character is number or not"

Python Answers by Framework

Browse Popular Code Answers by Language