Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the code is not propelry working # program: sales.py # Programmer: edwin portillo # date: 2/10/23 # description: lab 3 ######################################################################### days_of_week = ['Mon','Tue','Wed','Thu','Fri','Say','Sun'] print(ACME

the code is not propelry working # program: sales.py # Programmer: edwin portillo # date: 2/10/23 # description: lab 3 ######################################################################### days_of_week = ['Mon','Tue','Wed','Thu','Fri','Say','Sun'] print("ACME Stores Incorporated Sales Report: ") current_sales = ['1,000.00','2,000.00','3,000.00','4,000.00','5,000.00','6,000.00','7,000.00'] print("Current Sales: ") print(f"{days_of_week[0].title()}: \t${current_sales[0].title()}") print(f"{days_of_week[1].title()}: \t${current_sales[1].title()}") print(f"{days_of_week[2].title()}: \t${current_sales[2].title()}") print(f"{days_of_week[3].title()}: \t${current_sales[3].title()}") print(f"{days_of_week[4].title()}: \t${current_sales[4].title()}") print(f"{days_of_week[5].title()}: \t${current_sales[5].title()}") print(f"{days_of_week[6].title()}: \t${current_sales[6].title()}") print(); print ("Projected 5% increase:") print(f"{days_of_week[0].title()}: \t${daily_sales[0] * 1.05:,.2f}") print(f"{days_of_week[1].title()}: \t${daily_sales[1] * 1.05:,.2f}") print(f"{days_of_week[2].title()}: \t${daily_sales[2] * 1.05:,.2f}") print(f"{days_of_week[3].title()}: \t${daily_sales[3] * 1.05:,.2f}") print(f"{days_of_week[4].title()}: \t${daily_sales[4] * 1.05:,.2f}") print(f"{days_of_week[5].title()}: \t${daily_sales[5] * 1.05:,.2f}") print(f"{days_of_week[6].title()}: \t${daily_sales[6] * 1.05:,.2f}")

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions