Question: write a python code Create a dictionary with keys firstname , lastname and age , with some values assigned to each Add an additional key

write a python code

Create a dictionary with keys firstname, lastname and age, with some values assigned to each

Add an additional key address to the dictionary

Print out the list of keys of your dictionary

Create a name key with the value as a string containing both first and last name keys. Is it possible to do this without typing in your name once again? If so make the modification, and when done remove the two other older keys.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!