` count = 0 has_upper = False has_symbol = False for i in pwd: if i.isupper(): has_upper = True if i in ["!", "@", "#", "$", "%", "*"]: has_symbol = True If i.isnumeric(): count += 1 if count >=3 and has_upper and has_symbol and len(pwd) >=10: print('good') else: print('not good')