Question: Create a dictionary named person _ dict containing key - value pairs 'first _ name': 'Ari', 'last _ name': 'Lane', and 'license': ' PQR 1
Create a dictionary named persondict containing keyvalue pairs 'firstname': 'Ari', 'lastname': 'Lane', and 'license': PQR
Read strings newkey and newvalue from input.
Add newkey and newvalue as a new keyvalue pair to persondict with newkey as the key and newvalue as the value.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
