Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need some help from these questions for my Programming class. We are using Python 3.7 ------------------------------------------------------------------------------------------------------- 1. 2. ------------------------------------------------------------------------------- Thank you! Write a dictionary program

Need some help from these questions for my Programming class. We are using Python 3.7

-------------------------------------------------------------------------------------------------------

1.

image text in transcribed

2.

image text in transcribed

-------------------------------------------------------------------------------

Thank you!

Write a dictionary program that lets users enter certain words and definitions and then look them up later. Make sure you let the user know if their word isn't in the dictionary yet. It should look something like this when it runs: Add or look up a word (a/l)? a Type the word: computer Type the definition: A machine that does very fast math Word added! Add or look up a word (a/l)? 1 Type the word: computer A machine that does very fast math Add or look up a word (a/l)? 1 Type the word: qwerty That word isn't in the dictionary yet. Write a function to calculate the total value of some change-quarters, dimes, nickels, and pennies (just like in the last "Try it out" question from chapter 5). The function should return the total value of the coins. Then write a program that calls the function. The output should look like this when it runs: quarters: 3 dimes: 6 nickels: 7 pennies: 2 total is $1.72

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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

=+2 How can the effectiveness of global virtual teams be improved?

Answered: 1 week ago

Question

=+1 What are the major issues related to international T&D?

Answered: 1 week ago