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