Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DATA PROGRAMMING: PYTHON Write a program that takes quarterly sales for an organization ( in thousands of dollars) over a year and calculates the total

DATA PROGRAMMING: PYTHON

Write a program that takes quarterly sales for an organization ( in thousands of dollars) over a year and calculates the total sales. The output should change according to the sales entered. Add try/except block as well as an indication of whether total sales are low (under $50,000), medium ($50K or higher and under $150K), or high ($150K or higher). Also, issue a warning message in the event that sales are under $20K. If the sales entered are non-numeric, use a try/except /else block to indicate that the application only takes numeric data as inputs.

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

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

What are unary, binary, and n-ary relationships?

Answered: 1 week ago