判断是否为字母, 数字 isalnum()
isalpha()
isnumeric()
Syntax
1 | # 判断是否整个string都由alpha and numbers 组成 |
Return Type
Boolean
Ex:
1 | # No space in string |
isalnum()
isalpha()
isnumeric()
1 | # 判断是否整个string都由alpha and numbers 组成 |
Boolean
1 | # No space in string |