Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: merge the key-value pairs of two dictionaries

Python: merge the key-value pairs of two dictionaries
{filelink=16011}

even  =   [2, 4, 6, 8]
odd=   [1, 3, 5, 7, 9]
dict={'even':even, 'odd':odd}
params = {'Font': 12, 'Style': 'Bras', 'Color': [255, 0, 255]}
# Combining the dictionaries
params.update(dict)
print params

Users who found this page were searching for:

  • underline character in jbutton java
  • python .count
  • java how check the thread is running
  • how to add a menu to jframe?
  • how to use underline in java swing
  • java swing font underline
  • how to read gmail inbox using ja
  • ftpclient java set file readonly
  • python merge files keys
  • How do I reverse the key value pairs in python

No comments yet.

Leave a Comment