Exercise: Create dictionary with variables
You can use variables to assign keys and values in dictionaries. Use the variables key and value to add the missing key-value pair.
key = 'name'
value = 'Carolina'
person = {
# add missing key-value pair here...
'age': 30
}
print(person['name'])
# expected output: Carolina
Python
Setting up Python environment...
Output