fork download
  1. # your code goes here
  2. d = {(1,2):1,(3,4):2,(5,6):3}
  3. for i in range(len(d)):
  4. if (1,2) in d:
  5. print("hi")
  6.  
Success #stdin #stdout 0.02s 9288KB
stdin
Standard input is empty
stdout
hi
hi
hi