Answer:
car_makers = {'Acura':'Japan','Fiat':'Egypt'}
car_makers['Tesla'] = "USA"
car_makers['Fiat'] = "Italy"
print("Acura made in",car_makers['Acura'])
print("Fiat made in",car_makers['Fiat'])
print("Tesla made in",car_makers['Tesla'])
Explanation:
The first line is a define object in the python code, containing two entries of Acura and Fiat and their respective countries.
The python code adds an entry to the object "car maker" using the bracket notation, the tesla car from USA.
The country of the Fiat car is changed from Germany to Italy, using the bracket notation.
The output of the complete object and the individual cars is given.
output of the python code:
{'Acura': 'Japan', 'Fiat': 'Italy', 'Tesla': 'USA'}
Acura made in Japan
Fiat made in Italy
Tesla made in USA.