1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Fantom [35]
3 years ago
10

Write a Python 3 program that will compute the total cost of an amazon purchase. The program should ask the user to enter the am

ount of a purchase, then calculate a 12% shipping and handling fee and NJ sales tax (7%). Your program should show the itemized bill.
Computers and Technology
1 answer:
valentina_108 [34]3 years ago
3 0

Answer:

price = float(input("Enter amount of a purchase: "))

shipping_price = 0.12* price

NJ_sales_Tax = 0.07*price

print('The price of item is {}'.format(price))

print('The Cost of Shipping is {}'.format(shipping_price) )

print('New Jessey Sales Tax is {}'.format(NJ_sales_Tax))

total_bill = shipping_price+NJ_sales_Tax+price

print('Total Bill {} ' .format(total_bill))

Explanation:

  • Prompt User for input of the amount of purchase
  • Calculate the shipping cost (12% of purchase price)
  • Calculate the tax (7% of the purchase price)
  • Use python's .format method to output an itemized bill

You might be interested in
Which year was the Apple 2 released? <br>A) 1979 <br>B). 1973 <br>C). 1980 <br>D). 1977​
sesenic [268]

Answer:

1977

Explanation:

Apple 2 was released in April 19th 1977

6 0
3 years ago
Read 2 more answers
We noted that network layer functionality can be broadly divided into data plane functionality and control plane functionality.
Lisa [10]

Answer:

A data plane is used in a network, it is also known as forwarding plane. The main responsibility of a data plane is to carry forward the packets or data between different clients of the network. • A control plane used in the network is responsible for establishing connection information. That is a control plane connects different clients by exchanging their routing and forwarding information.  

Comment  

• A control plane makes decisions about how a packet can be carry forwarded in the network. It uses different protocols and makes the routers and switches to exchange their routing information with the next router or switch. This information could be the routing tables containing which is the shortest path to reach the next router. • The control plane also configures and manages the network components. • The data plane uses the instructions and commands passed by the control plane to forward the data packets. Data plane uses the forwarding table of control plane and transfers data from one client to another client.  

• Thus decisions made by control plane are used by data plane to manage the network traffic and to transfer the data.  

Explanation:

3 0
3 years ago
Why was manufacturing such a slow and costly process before the Industrial Revolution?
ohaa [14]

Answer:

work was done by hand

Explanation:

Back then they didn't have machines

hope this helped

~chara

8 0
3 years ago
Describe what metadata are and what value they provide to the database system.
postnew [5]
Metadata is data about data.

For example, a mp3 file is data, metadata would be data explaining the artist, song name, album, etc.

In a database, the data would be a record, metadata about this could include if the data was an integer or a string, as well as the size limit for this field.
4 0
4 years ago
Computer network reduces the cost. explain the statement with example.​
Crank

Answer:

Justify this statement with an example. Ans: Computer Network reduces expenses of an office because computer on a network share different hardware devices like printers, scanners, hard disk etc. And sharing those hardware devicAes will reduces the expense of an office.

Explanation:

Justify this statement with an example. Ans: Computer Network reduces expenses of an office because computer on a network share different hardware devices like printers, scanners, hard disk etc. And sharing those hardware devicAes will reduces the expense of an office.

3 0
3 years ago
Other questions:
  • How many hours did it take supercomputer to calculate pi?
    6·1 answer
  • Which amendment discussed in the unit do you think has the greatest effect on your life? Why?
    14·1 answer
  • In the SoundByte, the Magic Gradient Pen has an algorithm which listens for ________ and then changes the gradient coloring of t
    9·2 answers
  • Why do i get message notifications but when i click on it it says i have no new messages?
    7·1 answer
  • 1. Assume you're using a three-button mouse. To access shortcut menus, you would
    6·2 answers
  • What is the first thing Kernel does when WinLoad turns over the starttup process to it
    5·1 answer
  • Write down the result of each expression in the output column and specify the datatype of the result.Datatype should follow the
    14·1 answer
  • Fill in the blacks
    13·1 answer
  • How do you use switch board in the office​
    6·1 answer
  • Select the correct answer.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!