Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for House Password by bildja
# migrated from python 2.7
import re
def checkio(data):
'Return True if password strong and False if not'
if len(data) < 10:
return False
for r in ('[a-z]', '[A-Z]', '\d'):
if re.search(r, data) is None:
return False
return True
print('First','Done' if checkio('A1213pokl')==False else 'wrong')
print('Second','Done' if checkio('bAse730onE')==True else 'wrong')
March 13, 2011