# your code goes hered = {(1,2):1,(3,4):2,(5,6):3}for i in range(len(d)): if (1,2) in d: print("hi")
Standard input is empty
hi hi hi
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!