Submission: 1. All submissions will be via Blackboard. Please see assignment in this module. 2. Your...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Submission: 1. All submissions will be via Blackboard. Please see assignment in this module. 2. Your accepted sources for obtaining help: module resources, textbook, course instructor and GTA 3. The code needs to be written in the firstname_lastname_LA5.py template file. Please change the name of the file and the header of the file. Example File name: Jane_Doe_LA5.py Sample input/output: *** Thank you for using self-checkout *** Enter item name: water Is this a food item? (y/n): y Enter price: $2 Enter another item? (y/n): y Enter item name: aspirin Is this a food item? (y/n): n Is this a medicine item? (y/n): y Enter price: $11.99 Enter another item? (y/n): y Enter item name: tissues Is this a food item? (y/n): n Is this a medicine item? (y/n): n Enter price: $3.99 Enter another item? (y/n): n Item Price water $2.00 aspirin $11.99 tissues $3.99 Total Extended Price $2.05 $11.99 $4.23 $18.27 Submission: 1. All submissions will be via Blackboard. Please see assignment in this module. 2. Your accepted sources for obtaining help: module resources, textbook, course instructor and GTA 3. The code needs to be written in the firstname_lastname_LA5.py template file. Please change the name of the file and the header of the file. Example File name: Jane_Doe_LA5.py Sample input/output: *** Thank you for using self-checkout *** Enter item name: water Is this a food item? (y/n): y Enter price: $2 Enter another item? (y/n): y Enter item name: aspirin Is this a food item? (y/n): n Is this a medicine item? (y/n): y Enter price: $11.99 Enter another item? (y/n): y Enter item name: tissues Is this a food item? (y/n): n Is this a medicine item? (y/n): n Enter price: $3.99 Enter another item? (y/n): n Item Price water $2.00 aspirin $11.99 tissues $3.99 Total Extended Price $2.05 $11.99 $4.23 $18.27
Expert Answer:
Answer rating: 100% (QA)
To complete the task you can follow these steps 1 Create a new file with the desired name such as J... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
The steel rods AB and BC are made of a steel for which = 300 MPa and E = 200 GPa. a) Write a computer program to calculate for values of a from 0 to 6 m, using 1-m increments, the maximum strain...
-
Prepare a financial statement analysis report containing: i. Business Activity Analysis includes a. Planning Activity (Planning) b. Financing Activities (Financing) c. Investment Activity (Investment)
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
This exercise investigates the way in which conditional independence relationships affect the amount of information needed for probabilistic calculations. a. Suppose we wish to calculate P (he1, e2)...
-
Air enters a 5- by 5-cm square duct at V1 900 ms and T1 300 K. The friction factor is 0.02. For what length duct will the flow exactly decelerate to Ma...
-
In each case, write X as the sum of a vector in U and a vector in U. (a) X = [2 1 6], U = span{[3 -1 2], [2 0 -3]} (b) X = [2 0 1 6], U = span{[l 1 1 1], [ 1 1 -1 -1], [1 -1 1 -1]} (c) X = [a b c d],...
-
In life testing, we are sometimes interested in establishing tolerance limits for the life of a component in particular, we may be interested in a one-sided tolerance limit \(t^{*}\), for which we...
-
On April 1, 2011, Baxter Corporation purchased 80% of the outstanding stock of Crayon Company for $425,000. A condensed balance sheet of Crayon Company at the purchase date is shown below All book...
-
How is the North American wholesale club industry changing? What are the underlying drivers of change and how might those forces individually or collectively make the industry more or less attractive...
-
Which statement concerning TQM in services is false a Service quality often depends upon the courtesy of the sales person b Service quality often depends upon how problems are handled c Service...
-
Using vector mathematics, derive the expression for inertial acceleration as measured in the rotating body axis system starting with VB = V W B P and = Q W= R B
-
An invoice for $8,331.44, dated February 15, 2021, with terms 3/10, n/30 was received. The retailer decides to send a cheque on February 23 for $3,775. What is the amount credited?
-
Consider the arrangement of charges shown below. What is the electric potential energy of this system of charges? a 2a y [cm] + 0 q1 = 8.0 C 92 = -2.0 C x [cm]
-
Why can an internship program be an effective tool for determining the qualifications of individuals?
-
Explain the difference between lossless and lossy data compression. Which type normally provides a smaller file? What is ''lost'' in lossy audio data compression? Under what circumstances is it...
-
In September 2000, Amazon offered a Planet of the Apes DVD to customers using a Netscape Web browser for $64.99. Several seconds later, however, a similar search performed with Microsoft Internet...
-
Two semi-trailers are traveling down a 5.5% grade at 40 mph. on a two- lave highway in the same lave. Truck A has new tires. Truck B3 has worn tires. The roadway is paved with Portland cement...
-
Heineken N.V., a global brewer based in the Netherlands, reports the following balance sheet accounts for the year ended December 31, 2016 (euros in millions). Prepare the balance sheet for this...
-
The class breaks into teams of four to five students. Each team should prepare to debate the following statements: 1. Unions served a useful purpose in the past but have outlived their usefulness. 2....
-
Your class has recently been hired by McDonalds to make recommendations for improving the orientation and training programs of employees in the companys franchise operations. The key job activities...
-
What is a management inventory? What is a succession plan?
-
Briefly explain the difference between accounting, finance, and engineering economics. Try to put the concepts in your own (or your team's) words and compare the concepts where appropriate.
-
What are the two key financial objectives in the management of a company? How can a focus on these objectives create ethical dilemmas?
-
Among your colleagues in class, identify a term or phrase italicized in this chapter that you think is the most significant from your reading. Absent team consensus, then just provide your...
Study smarter with the SolutionInn App