We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
if name == 'main':
i = input()
for s in i:
is_alnum = any(x.isalnum() for x in i)
is_alpha = any(x.isalpha() for x in i)
is_digit = any(x.isdigit() for x in i)
is_lower = any(x.islower() for x in i)
is_upper = any(x.isupper() for x in i)
String Validators
You are viewing a single comment's thread. Return to all comments →
if name == 'main': i = input() for s in i: is_alnum = any(x.isalnum() for x in i) is_alpha = any(x.isalpha() for x in i) is_digit = any(x.isdigit() for x in i) is_lower = any(x.islower() for x in i) is_upper = any(x.isupper() for x in i)