Introduction to Python
Python String Methods – isalnum(), isalpha(), isdecimal(), isdigit(), isidentifier(), isnumeric()
isalnum() – Returns True if all characters in the string are alphanumeric
isalpha() – Returns True if all characters in the string are in the alphabet
isdecimal() – Returns True if all characters in the string are decimals
isdigit() – Returns True if all characters in the string are digits
isidentifier() – Returns True if the string is an identifier
isnumeric() – Returns True if all characters in the string are numeric
-by Yatin Jog
Tag: isdigit python, Python, Python String, String Methods, String, isalnum, isalpha, isdecimal, isdigit, isidentifier, isnumeric
Xem thêm: http://thuvienso.club/category/review
Nguồn: http://thuvienso.club