📅  最后修改于: 2022-03-11 14:46:22.780000             🧑  作者: Mango
代码示例1
# For alphabet
>>> 'A'.isdigit()
False
>>> 'A'.isalpha()
True
# For digit
>>> '1'.isdigit()
True
>>> '1'.isalpha()
False