Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Uncategorized category for House Password by panki
# migrated from python 2.7
import re
def checkio(data):
return bool(len(data) >= 10 and re.search('(\d+[A-Z]+[a-z]+)', "".join(sorted(data))))
if __name__ == '__main__':
assert checkio('A1213pokl')==False, 'First'
assert checkio('bAse730onE4')==True, 'Second'
print('All ok')
March 21, 2012
Comments: