Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for House Password by histrio
# migrated from python 2.7
def checkio(data):
'Return True if password strong and False if not'
import string
l = string.lowercase,string.uppercase,string.digits
return (all([any([c in l for c in data]) for l in l]) and
len(data)>=10)
if __name__ == '__main__':
assert checkio('A1213pokl')==False, 'First'
assert checkio('bAse730onE4')==True, 'Second'
print('All ok')
June 3, 2011