Python script to concatenate following dictionaries to create a new one.


dic1={1:10, 2:20} 

dic2={3:30, 4:40}

dic3={5:50,6:60}

dic1.update(dic2)

dic1.update(dic3)

d4=dic1

print(d4)

Comments

Some popular posts

Python Program that computes the net amount of a bank account based a transaction log from console input.