[python] How to add key,value pair to dictionary?