• What is worng here.

Question related to mission House Password

 

def checkio(data: str) -> bool: x = [] y = (1,2,3,4) if len(data) <= 10: return False for i in data: if i.isalpha() == True: x.append(1) if i.isupper() == True: x.append(2) if i.islower() == True: x.append(3) if i.isnumeric() == True: x.append(4) if x.count(y) >= 1: return True else : return False It not working on U L F F u n H 8 n i .