Write a statement to add the key Tesla with value USA to car_makers. Modify the car maker of Fiat to Italy. Sample output for the given program: Acura made in Japan Fiat made in Italy Tesla made in USA Code writing challenge activity demo 461710.3116374.qx3zqy7 1 car_makers = {'Acura': 'Japan', 'Fiat': 'Egypt'} 2 3# Add the key Tesla with value USA to car_makers 4# Modify the car maker of Fiat to Italy 5 6 "Your solution goes here ''' 7 8 print (f'Acura made in {car_makers ["Acura"]}') 9 print (f'Fiat made in {car_makers ["Fiat"]}') 10 print (f'Tesla made in {car_makers ["Tesla"]}')

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question
Write a statement to add the key Tesla with value USA to car_makers. Modify the car maker of Fiat to Italy. Sample output for the
given program:
Acura made in Japan
Fiat made in Italy
Tesla made in USA
Code writing challenge activity demo
461710 3116374.qx3zqy7
1 car_makers
{'Acura': 'Japan', 'Fiat': 'Egypt'}
2
3 # Add the key Tesla with value USA to car_makers
4# Modify the car maker of Fiat to Italy
5
6 "Your solution goes here '''
7
8 print (f'Acura made in {car_makers ["Acura"]}')
9 print (f'Fiat made in {car_makers ["Fiat"]}')
10 print (f'Tesla made in {car_makers ["Tesla"]}')
I
=
Transcribed Image Text:Write a statement to add the key Tesla with value USA to car_makers. Modify the car maker of Fiat to Italy. Sample output for the given program: Acura made in Japan Fiat made in Italy Tesla made in USA Code writing challenge activity demo 461710 3116374.qx3zqy7 1 car_makers {'Acura': 'Japan', 'Fiat': 'Egypt'} 2 3 # Add the key Tesla with value USA to car_makers 4# Modify the car maker of Fiat to Italy 5 6 "Your solution goes here ''' 7 8 print (f'Acura made in {car_makers ["Acura"]}') 9 print (f'Fiat made in {car_makers ["Fiat"]}') 10 print (f'Tesla made in {car_makers ["Tesla"]}') I =
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT