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 juestr
def is_acceptable_password(password: str) -> bool:
check = lambda c, f: c(map(f, password))
return len(password) > 9 or \
len(password) > 6 and check(any, str.isdigit) and not check(all, str.isdigit)
Aug. 6, 2021
Comments: