Share
Update the dictionary
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Alexis is 23 years old. Add this to her record existing as:
my_record={‘name’: ‘alexis’,
‘city’: ‘georgia’}
Answer ( 1 )
The dictionary can be updated as->
my_record.update({“age”: 23})