You are viewing a single comment's thread. Return to all comments →
s = input() is_alnum = False is_alpha = False is_digit = False is_lower = False is_upper = False for c in s: if c.isalnum(): is_alnum = True if c.isalpha(): is_alpha = True if c.isdigit(): is_digit = True if c.islower(): is_lower = True if c.isupper(): is_upper = True print(is_alnum) print(is_alpha) print(is_digit) print(is_lower) print(is_upper)
Seems like cookies are disabled on this browser, please enable them to open this website
String Validators
You are viewing a single comment's thread. Return to all comments →