Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a dictionary variable to store information about yourself, including your name and registration number (and anything else you want to include). Loop through each

image text in transcribed
Create a dictionary variable to store information about yourself, including your name and registration number (and anything else you want to include). Loop through each item in the dictionary using a for loop, and print the key and value. Download the Python file "em270_week_6_3.py" from Myplace and open in Spyder. This file contains a dictionary with a mapping of English to French words. Using the sorted() function, extend this program to print each key and value in alphabetical order by key. Taking the dictionary definition from the file "em270_week_6_3.py", design and write a program which will allow the user to enter a French word and have the corresponding English word looked up and displayed. Fill in the second column of this table before you write any code. Add any extra test data you think necessary. Stretch objective: Add the following pair of words to the English to French dictionary. How does this change your program design

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

Step: 3

blur-text-image

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions