You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': s = input() operations = ["isalnum","isalpha","isdigit","islower","isupper"] for i in operations: print(any(getattr(c,i)() for c in s))
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 →