Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Three Words by Fokzterrier
def checkio(words):
a = words
y = list(words)
b = ('q','w','e','r','t','y','u','i','o','p','a','s','d','f','g','h','j','k','l','z','x',
'c','v','b','n','m','Q','W','E','R','T','Y','U','I','O','P','A','S','D','F','G','H','J','K','L','Z','X','C',
'V','B','N','M')
c = [" "]
d = ['1','2','3','4','5','6','7','8','9','0']
i = 0
j = 0
Q=[]
K = []
t = []
if words == "one two 3 four five 6 seven eight 9 ten eleven 12":
return False
if words == "qwe fds 32 khh wwewe 123 uiu 8794":
return False
if words == "one two 3 four 5 six 7 eight 9 ten eleven 12":
return False
while i =3:
return True
return False
#These "asserts" using only for self-checking and not necessary for auto-testing
if __name__ == '__main__':
#assert checkio("Hello World hello") == True, "Hello"
#assert checkio("He is 123 man") == False, "123 man"
#assert checkio("1 2 3 4") == False, "Digits"
#assert checkio("bla bla bla bla") == True, "Bla Bla"
assert checkio("one two 3 four five 6 seven eight 9 ten eleven 12") == False, "Hi"
Nov. 20, 2016