Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for House Password by bryukh
def checkio(data):
return (len(data) >= 10 and
any([ch.isupper() for ch in data]) and
any([ch.isdigit() for ch in data]) and
any([ch.islower() for ch in data]))
if __name__ == '__main__':
assert checkio('A1213pokl')==False, 'First'
assert checkio('bAse730onE4')==True, 'Second'
print('All ok')
Oct. 1, 2012
Comments: