Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Conditionals solution in Clear category for House Password by bryon.hance
def checkio(data: str) -> bool:
if len(data) < 10:
return False # Too short
if not data.isascii():
return False # Contains none ASCII letters
if data == data.lower():
return False # No upper case letters
if data == data.upper():
return False # No lower case letters
for l in data:
if l.isdigit():
return True # All conditions are met.
return False
July 29, 2019
Comments: