Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Uncategorized category for House Password by jrmorrisnc
# migrated from python 2.7
def checkio(data):
'Return True if password strong and False if not'
result = any(c.isupper() for c in data) and any(c.isdigit() for c in data) and any(c.islower() for c in data) and len(data) >= 10
return result
if __name__ == '__main__':
assert checkio('A1213pokl')==False, 'First'
assert checkio('bAse730onE4')==True, 'Second'
print('All ok')
Dec. 13, 2011
Comments: