fork download
  1. def common_numbers(l1 l2,l3):
  2. return list(set(l1) & set(l2) & set(l3))
  3. list1 = [1,2,3]
  4. list2 = [7,5,3]
  5. list3 = [5,6,3]
  6. print(common_numbers(list1,list2,list3)
Success #stdin #stdout #stderr 0.01s 5272KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: near line 1: near "def": syntax error