You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': s = input() answer = [] for _ in range(5): answer.append(False) for chr in s: if chr.islower(): answer[0] = answer[1] = answer[3] = True elif chr.isupper(): answer[0] = answer[1] = answer[4] = True if chr.isdigit(): answer[0] = answer[2] = True if False not in answer: break for x in answer: print(x)
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 →