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
A great way to avoid tech distraction is to __
Ksivusya [100]

Answer:

B

Explanation:

This is because you are only restraining yourself from using your phone when you are NOT at the stop lights (or you could perhaps say Red Lights). I hope this was helpful! :)

4 0
3 years ago
Read 2 more answers
"Which of the following will help protect against a brute force attack?
Effectus [21]

Answer:

B

Explanation:

A complex and unpredictable password would prove very hard to guess or deduce for any attacker.

3 0
4 years ago
Which of the following are examples of IT careers? Check all of the boxes that apply.
krek1111 [17]

<u>Answer:</u>

  1. <em>software engineer </em>
  2. <em>hardware engineer </em>
  3. <em>systems analyst </em>
  4. <em>database administrator </em>
  5. <em>computer support specialist</em>

<u>Explanation:</u>

  • <em>Software engineer:</em> This deals with the application development where engineers develop application related to system software and application software which is used for commercial purposes.
  • <em>Hardware engineer:</em> Deals with problem in the hardware viz keyboard, mouse, mother board and other internal parts and also with network.
  • <em>Systems analyst: </em>This is once again a profession which deals with the internal problems of the system and also to install softwares and troubleshoot if issues arise.
  • <em>Database administrator: </em>Maintains the database, fix errors, monitor data, etc
  • <em>Computer support specialist:</em> The responsibility depends on the company and it will be similar to a clerical role.

Lawyer  This option is irrelevant

5 0
4 years ago
Read 2 more answers
Truncation is a keyword search technique that helps you find useful variations of a term or terms. You want to find books on the
sergiy2304 [10]

Answer:

gravit* and collapse

Explanation:

Truncation is a keyword search technique that helps you find useful variations of a term or terms.

To find books on the topic of gravity and gravitational collapse, the best part to truncate is gravit* and collapse.

4 0
3 years ago
Suppose that you want to write a program that inputs customer data including name, zipCode, balance, and regionNum. At the end o
Sergio039 [100]

The most likely statement during the main processing loop would be

customerCount[regionNum] =

customerCount[regionNum] + 1

<h3>What is a processing loop?</h3>

A loop means a sequence of instruction s that is continually repeated until a certain condition is reached.

In this case, the most likely statement during the main processing loop would be customerCount[regionNum] = and customerCount[regionNum] + 1.

Learn more about loop on:

brainly.com/question/4510147

#SPJ12

4 0
2 years ago
Other questions:
  • Which of the following would you click to access Help and Support?
    6·2 answers
  • During an experiment, if you purpose change the temperature to test a hypothesis the temperature is called what??
    6·1 answer
  • How do you make Thumbnails and outros on Youtube for free?
    8·1 answer
  • Suppose that, on average, a certain binary search algorithm takes one second to search through 1,000 items. Approximately how lo
    9·1 answer
  • Class function which is called automatically as soon as the object is created is called as __
    6·1 answer
  • Which of the following is an example of metadata about a webpage?
    7·2 answers
  • You’ve been tossed into an insane asylum. What do you tell the people there to prove to them that you don’t belong inside?
    7·2 answers
  • A layout with boxes that can be used to make text easier to read."
    5·1 answer
  • When a file is used by a program, there are three steps that must be taken:
    7·1 answer
  • Lookups comes before Tags in the search-time operation sequence. True or False: Lookups can reference Tags.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!