Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for House Password by capback250
import re
def num(inner):
pattern_nums = r"[0-9]+"
number_re = re.compile(pattern_nums)
nubmers = number_re.findall(inner)
return nubmers
def caps(inner):
global CAPS
pattern_nums = r"[A-Z]+"
number_re = re.compile(pattern_nums)
nubmers = number_re.findall(inner)
return nubmers
def lower(inner):
global LOWER
pattern_nums = r"[a-z]+"
number_re = re.compile(pattern_nums)
nubmers = number_re.findall(inner)
return nubmers
def checkio(inner):
return True if len(num(inner)) != 0 and len(caps(inner)) != 0 and len(lower(inner)) != 0 and len(inner)>= 10 else False
Feb. 9, 2016