My Code:
def checkio(data: str) -> bool:
#replace this for solution
return True or False
#Some hints
#Just check all conditions
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert checkio('A1213poklTRS') == True #1st example
assert checkio('bAse730onE4') == True #"2nd example"
assert checkio('asasasaSasasasaas111') == True #"3rd example"
assert checkio('QWERTYqwerty1111111111') == True #"4th example"
assert checkio('123456123456fiveFIVE') == True #"5th example"
assert checkio('QwErTy911poqqqq') == True #"6th example"
#("Coding complete? Click 'Check' to review your tests and earn cool rewards!")
Created at: 2018/11/07 14:43; Updated at: 2018/11/07 15:41