Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Acceptable Password IV by Ekaterina_Hostinetska
def is_acceptable_password(password: str) -> bool:
digits = 0
for p in password:
if p.isdigit():
digits += 1
a = len(password) > digits > 0
return len(password) >= 6 and (a if len(password) <= 9 else True)
Aug. 16, 2021
Comments: