Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Python script that will take the given comma separated string of incorrect names and return a list that contains the values with the

Write a Python script that will take the given comma separated string of incorrect names and return a list that contains the values with the correct names and in the correct order. Remember to only use the things you learned in this section and make sure you correct any errors you find.

Input string

Expected output of script

The Fall,Humans,Demon Time,The Now Now,Face Value,Vinyl Beach

['Demon Days', 'Plastic Beach', 'The Fall', 'Humanz', 'The Now Now']

Task 04 (30 points)

Consider the following menu from my new restaurant:

Number

Name

Value

1

Double Trouble Cheese Burger

$7.90

2

Carl's Jr. Jalapeo Poppers

$8.82

3

Fried Mayonnaise on a Stick

$14.53

4

Danger Dog (w/ Dangerous Sauce)

$9.96

5

Wings

$25.09

Write a Python script that can read in a customers order by b number and return the total cost of the order as well as the exact change the customer would have to pay for the order.

Input string

Expected output of script

Please enter your order: 1, 4, 4, 2

Order total: 36.64

Dollars: 36

Quarters: 2

Dimes: 1

Nickels: 0

Pennies: 4

Task 05 (30 points)

Write a Python script that will calculate the value of a savings account after 10 years. Your script should prompt the user to enter a starting value and then calculate the compound interest every year at a rate of 1% per year. It should store each yearly value in a dictionary and at the end of the calculation print the whole dictionary showing the value at the end of each year.

Input string

Expected output of script

Enter a starting value: 37995

{'1 year': 38375

'2 years': 38759

'3 years': 39147

'4 years': 39538

'5 years': 39933

'6 years': 40332

'7 years': 40735

'8 years': 41142

'9 years': 41553

'10 years': 41969}

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 Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions

Question

=+ (b) affect the world interest rate?

Answered: 1 week ago