# your code goes heredic = {0:'p'}print(dic[0])print(dic[1])
Standard input is empty
p
Traceback (most recent call last): File "./prog.py", line 4, in <module> KeyError: 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!