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
Get step-by-step solutions from verified subject matter experts
