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
kari74 [83]
3 years ago
12

LANGUAGE IS PYTHON!!! PLEASE HELP

Computers and Technology
1 answer:
aleksandr82 [10.1K]3 years ago
7 0

The required program written in python 3 is displayed below :

weight = eval(input())

<em>#prompts</em><em> </em><em>user</em><em> </em><em>to</em><em> </em><em>enter</em><em> </em><em>weight</em><em> </em><em>value</em><em> </em>

miles = eval(input())

<em>#prompts</em><em> </em><em>user</em><em> </em><em>to</em><em> </em><em>enter</em><em> </em><em>number</em><em> </em><em>of</em><em> </em><em>miles</em><em> </em>

if miles <= 500:

<em>#shipping</em><em> </em><em>calculation</em><em> </em><em>for</em><em> </em><em>miles</em><em> </em><em>value</em><em> </em><em>below</em><em> </em><em>500</em><em> </em><em>miles</em><em> </em>

if weight <=2 :

shipping_charge = 1.10

elif(weight>2)and(weight<=6):

shipping_charge = 2.20

elif(weight>6)and(weight<=10):

shipping_charge = 3.70

elif(weight>10):

shipping_charge=3.80

<em>#shipping</em><em> </em><em>charge</em><em> </em><em>for</em><em> </em><em>each</em><em> </em><em>weight</em><em> </em><em>category</em><em> </em>

else:

<em>#shipping</em><em> </em><em>cost</em><em> </em><em>if</em><em> </em><em>the</em><em> </em><em>miles</em><em> </em><em>value</em><em> </em><em>entered</em><em> </em><em>is</em><em> </em><em>above</em><em> </em><em>500</em><em> </em><em>miles</em><em> </em>

if weight <=2 :

shipping_charge = 1.10 * round(miles/500)

<em>#number</em><em> </em><em>of</em><em> </em><em>miles</em><em> </em><em>divided</em><em> </em><em>by</em><em> </em><em>500</em><em> </em><em>is</em><em> </em><em>rounded</em><em> </em><em>to</em><em> </em><em>the</em><em> </em><em>nearest</em><em> </em><em>whole</em><em> </em><em>number</em><em> </em><em>and</em><em> </em><em>multiplied</em><em> </em><em>by</em><em> </em><em>the</em><em> </em><em>500</em><em> </em><em>Mile</em><em> </em><em>charge</em><em> </em><em> </em><em> </em>

elif(weight>2)and(weight<=6):

shipping_charge = 2.20 * round(miles/500)

elif(weight>6)and(weight<=10):

shipping_charge = 3.70 * round(miles/500)

elif(weight>10):

shipping_charge=3.80 * round(miles/500)

print('Your total shipping charge is : $',shipping_charge)

<em>#</em><em> </em><em>displays</em><em> </em><em>the</em><em> </em><em>total</em><em> </em><em>shipping</em><em> </em><em>charge</em><em> </em><em>to be</em><em> </em><em>paid</em><em> </em><em>based</em><em> </em><em>on</em><em> </em><em>the</em><em> </em><em>inputted</em><em> </em><em>values</em><em>.</em><em> </em>

Learn more :brainly.com/question/25122309

You might be interested in
Highlights the possible risks and problems that should be addressed during the implementation process
Llana [10]

Answer:

The answer is below

Explanation:

Since the type of Implementation is not stated specifically, it is believed that, the question is talking about ERP Implementation, because it is related to subject in which the question is asked.

Hence, Enterprise Resource Planning (ERP) implementation deals basically, by carrying out installation of the software, transferring of finanancial data over to the new system, configuring application users and processes, and training users on the software

ERP Implementation Risks involve the following:

1. Inefficient Management and Project Activities.

2. Inadequate or No Training and Retraining of Customers or End-Users.

3. Inability to Redesign Business Processes to meet the Software requirements.

3. Incompetent or lack of Technical Support Team and Infrastructure.

4. Incapability to Obtain Full-Time Commitment of Employee.

5. Failure to Recruit and Maintained Qualified Systems, and Developers.

6 0
4 years ago
Compared with non-Internet users, today's online social networkers are likely to experience ________ relationships with their ex
Digiron [165]

Answer: Strengthened, less

Explanation:

With people spending more time on internet their relationships with existing friends have decreased due to lot of contents available on the internet. They might be friends with people miles away but they might not know their next door neighbor. As the content over the internet increases day by the day this trend shall keep on rising.

8 0
4 years ago
Choose all items that represent examples of good website accessibility.
aksik [14]

Answer:

B,C, E

Explanation:

I did it on edge :)

5 0
3 years ago
Read 2 more answers
Ep-34 where should you aim a fire extinguisher's stream when extinguishing a fire?
patriot [66]
When extinguishing a fire, the extinguisher's stream should be aimed at the base of the flame using a sweeping motion. This will allow one to kill the fire from the source. This will quickly put out the fire faster applying the extinguisher from the upside.
8 0
4 years ago
Which one of the following devices would you choose to meet those requirements?
tensa zangetsu [6.8K]
What are the requirements
5 0
2 years ago
Read 2 more answers
Other questions:
  • Click ____ to move a stacked object to the top of the stack. Move to Top Bring to Front Slide to Top Move to Front
    12·1 answer
  • What is the speedup of going from a 1-issue processor to a 2-issue processor? use your code from part a for both 1-issue and 2-i
    11·1 answer
  • To activate a wizard to help in creating combo boxes and command buttons, make sure the ____ button is selected
    6·1 answer
  • Which of the following are types of home internet service? Check all that apply
    7·1 answer
  • if image size and resolution are the same, which file format, .jpg, .gif, .or .tiff, will give you the smallest file size?
    8·2 answers
  • What type of tool would be used to tighten a nut or bolt with an exact amount of twisting force?
    7·1 answer
  • You must keep track of some data. Your options are: (1) A linked-list maintained in sorted order. (2) A linked-list of unsorted
    5·1 answer
  • What is the command to list files in Unix and Unix like operating system?​
    15·1 answer
  • Write a function writel that will write the length of a side of a square. If only one argument is passed to the function, it is
    10·1 answer
  • A help desk technician determines that a user's issue is caused by a corrupt file on their computer. What is the fastest way to
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!