Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
With any() and all() solution in Creative category for Acceptable Password IV by Adrian_Sanz_Wallace
def is_acceptable_password(password: str) -> bool:
t = [a in '0123456789' for a in password]
return any(t) and len(password)>6 and not all(t) or len(password)>9
March 18, 2021