import pickled=dict(name='Bob',age=20,score=88)print(pickle.dumps(d))# your code goes here
Standard input is empty
b'\x80\x04\x95$\x00\x00\x00\x00\x00\x00\x00}\x94(\x8c\x04name\x94\x8c\x03Bob\x94\x8c\x03age\x94K\x14\x8c\x05score\x94KXu.'
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!