filmov
tv
Python String Methods - isalnum(), isalpha(), isdecimal(), isdigit(), isidentifier(), isnumeric()
Показать описание
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
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