Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create these variables in one line each: using python from the contents in practice_data.py below: . e2both - a dictionary mapping English words to dictionaries

Create these variables in one line each:

image text in transcribed

using python from the contents in practice_data.py below:

image text in transcribed

. e2both - a dictionary mapping English words to dictionaries mapping 'fr' to the corresponding French word, and 'de' to the corresponding German word. Using the data in practice_data your e2both would look something like: ('goodbye': {'de': 'auf wiedersehen', 'fr': 'au revoir'), 'hello': {'de': 'guten tag", "fr': 'bonjour'), 'to be': 'de' sein, 'fr' 'tre' 'to have': {'de': 'haben. "fr': 'avoir' }, 'to lose': {'de': 'verlieren", "fr': 'perdre'), to love': ('de': 'lieben'' to practice' 'de 'ben', 'fr': "s'entrainer" to win': 'de': 'gewinnen', 'fr' 'gagner fr'aimer', love_de the German word for love, from the e2both dictionary you created above. avoir-en-the English word for the French "avoir", taken from the e2f you created above. Note that this is the only part of this assignment that can't be done in one line. You'll be using a value to find its corresponding key

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Identify and control your anxieties

Answered: 1 week ago

Question

Understanding and Addressing Anxiety

Answered: 1 week ago