Code the problem in Python 2.
Problem 4
You've been hired to write a Python program for...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 29.10.2020 17:50 alexscott
Code the problem in Python 2.
Problem 4
You've been hired to write a Python program for scanned items at a grocery mart. The scan is of the form [x, y, z] where x is the number of items purchased, y is the price of the item, and z is whether the item is taxable (7% tax on grocery items). For example, assume you were given the list below:
[[1, 1.45, 1], [3, 4.24, 1], [2, 14.00, 0], [4, 1.25, 1]]
This means the amount owed is:
amt=1(1.45)(1.07)+3(4.24)(1.07)+2(1 4.00)+4(1.25)(1.07)
=((1.45+12.72+5.00)1.07)+28.00
=19.17(1.07)+28.00
=20.51+28.00
=48.51
Be sure to add "comments" explaining what the code is doing.
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 07:30
By refraining from constructing a building until they are certain that it will not cause harm to the environment, an organization is adhering to the
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 01:00
Complete the sentence about a presentation delivery method
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 05:30
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 26.03.2020 20:38
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 26.03.2020 20:38
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
History, 26.03.2020 20:38
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 26.03.2020 20:39
![question](/tpl/images/cats/mat.png)
Mathematics, 26.03.2020 20:39
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 26.03.2020 20:39
![question](/tpl/images/cats/mat.png)
Mathematics, 26.03.2020 20:39
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 26.03.2020 20:39
![question](/tpl/images/cats/istoriya.png)