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