Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for House Password by Gabbek
import string
def has_lowercase(p):
return any(a in p for a in string.ascii_lowercase)
def has_uppercase(p):
return any(a in p for a in string.ascii_uppercase)
def has_digit(p):
return any(a in p for a in string.digits)
def length_greater_or_equal(p, n):
return len(p) >= n
def checkio(p):
return length_greater_or_equal(p,10) and has_lowercase(p) and has_uppercase(p) and has_digit(p)
Oct. 4, 2015
Comments: