Update info

Report a typo

Let's say you have a dict with children's names and professions they would like to have when they grow up:

children = {'Emily': 'artist', 'Adam': 'astronaut', 'Nancy': 'programmer'}

But what if someone's choice has changed? Say, Emily now wants to be a musician. Update the dict and print its new version.

Write a program in Python 3
# please work with the variable children
# update the dict and print it
___

Create a free account to access the full topic