Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for House Password by oduvan
# migrated from python 2.7
import re
def checkio(data):
'Return True if password strong and False if not'
return bool(len(data) >= 10 \
and [a for a in data if a.isupper()] \
and [a for a in data if a.islower()] \
and [a for a in data if a.isdigit()])
print('First ','Done' if checkio('A1213pokl')==False else 'wrong')
print('Second ','Done' if checkio('bAse730onE4')==True else 'wrong')
Feb. 18, 2011
Comments: