fork download
  1. def f(l):k=map(str.lower,l);print[j not in k[:i]for i,j in enumerate(k)]
  2.  
  3. inp = ['monkey True', 'Monkey False', 'Monkey False', 'Monkey with symbols False', 'Monkey True', 'Cat yes', 'cat yes']
  4. f(inp)
Success #stdin #stdout 0s 47720KB
stdin
Standard input is empty
stdout
[True, True, False, True, False, True, False]