Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Evolution ( part III ) solution in Clear category for Acceptable Password III by Tinus_Trotyl
# Taken from mission Acceptable Password II
# Taken from mission Acceptable Password I
def is_acceptable_passwordI(password: str) -> bool:
return len(password) > 6
def is_acceptable_passwordII(password: str) -> bool:
return is_acceptable_passwordI(password) and any([c in '0123456789' for c in password])
def is_acceptable_password(password: str) -> bool:
return is_acceptable_passwordII(password) and not all([c in '0123456789' for c in password])
Oct. 13, 2020