Given the following list of prices of taxable items, find the total price of the items including sales tax and enter it into the text box on the following screen.
Write your code once using a for loop to add the prices, then do it again, replacing your for loop with Python’s built in sum function.
• The pre-tax cost of the items is: $2.99, $7.50,
$29.99, and $6.99.
• The sales tax is 5.75%.
• Make sure to round your final answer to the nearest
cent.
50.1999 can be 50.2
lst = [2.99, 7.50, 29.99, 6.99]
sumTotal = sum(lst)
sumTotalWithTax = sumTotal + 5.75*sumTotal/100
print(sumTotalWithTax)
=================================================================
=========
50.1999 can be 50.2
SEE OUTPUT

PLEASE COMMENT if there is any concern.
=============================
Given the following list of prices of taxable items, find the total price of the items...
Assume that a restaurant offers the following breakfast items: Plain Egg $1.45 Bacon and Egg $2.45 Muffin $0.99 French Toast $1.99 Fruit Basket $2.49 Cereal $0.69 Coffee $0.50 Tea $0.75 Write a program that stores the following data about each menu item in a structure called MenuItem: • A description of the menu item • The price of the menu item • A count of the number of times the item has been ordered The program should keep an array...
If you’re using Visual Studio Community 2015, as requested, the instructions below should be exact but minor discrepancies may require you to adjust. If you are attempting this assignment using another version of Visual Studio, you can expect differences in the look, feel, and/or step-by-step instructions below and you’ll have to determine the equivalent actions or operations for your version on your own. INTRODUCTION: In this assignment, you will develop some of the logic for, and then work with, the...
Problem: Rockford Corporation is a wholesale plumbing supply distributor. The corporation was organized in 1981, under the laws of the State of Illinois, with an authorized capitalization of 10,000 shares of no-par common stock with a stated value of $30 per share. The common stock is sold over the counter in the local area. You have been hired as of Friday, December 26, 2014, to replace the controller, who has resigned. As controller, you are responsible for the corporation’s accounting...
Payable: Use the t-accts below to record the following entries. If you get stuck, carefully review the online and text examples. On September 1t, Geo Inc. borrows $2,400 from State Bank and signs a 10 month short-term note payable. The interest rate on the note is 7%. Even though the note is only for 10 months, the interest rate is an annual rate (see interest calculations below). a) Record the entry to borrow the money from the bank. b) Next,...