Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!