PIRO Technologies Private Limited

PIRO Technologies Private Limited

Share

03/12/2019

tips of the day: 1

How to combine two dictionaries in python?

Suppose if we have two dictionaries:
d1={'x':3,'y':4}
d2={'z':8,'t':20}

then we can combine both the dictionaries simply using ** (double star)

d={**d1,**d2}

There are numerous advantages of using * and ** in python. We will discuss it in my upcoming post.

Want your business to be the top-listed Home Improvement Business in New Delhi?
Click here to claim your Sponsored Listing.

Telephone

Address


F 17, SECTOR 6
New Delhi
201301

Opening Hours

Monday 10am - 8pm
Tuesday 10am - 8pm
Wednesday 10am - 8pm
Thursday 10am - 8pm
Friday 10am - 8pm
Saturday 10am - 8pm