Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
_5 and len(set(password)) >= 3 solution in Clear category for Acceptable Password VI by flpo
def is_acceptable_password_4(password):
return (l := len(password)) >= 10 or (0 < sum(map(str.isdigit, password)) < l > 6)
def is_acceptable_password_5(password):
return is_acceptable_password_4(password) and 'password' not in password.lower()
def is_acceptable_password(password):
return is_acceptable_password_5(password) and len(set(password)) >= 3
March 18, 2020