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
vaieri [72.5K]
3 years ago
7

Write an application named Hurricane that outputs a hurricane’s category based on the user’s input of the wind speed. Category 5

hurricanes have sustained winds of at least 157 miles per hour. The minimum sustained wind speeds for categories 4 through 1 are 130, 111, 96, and 74 miles per hour, respectively. Any storm with winds of less than 74 miles per hour is not a hurricane. If a storm falls into one of the hurricane categories, output This is a category # hurricane, with # replaced by the category number. If a storm is not a hurricane, output This is not a hurricane.
Computers and Technology
1 answer:
Serggg [28]3 years ago
7 0

Answer:

def Hurricane(wind_speed):

   if wind_speed >= 157:

       print("Category 5 hurricane")

   elif wind_speed >= 130:

       print("Category 4 hurricane")

   elif wind_speed >= 111:

       print("Category 3 hurricane")

   elif wind_speed >= 96:

       print("Category 2 hurricane")

   elif wind_speed >= 74:

       print("Category 1 hurricane")

   else:

       print("Not a hurricane")

Hurricane(121)

Explanation:

The function "Hurricane" in the python code accepts only one argument which is the recorded speed of a hurricane. The nested if-statement evaluates the speed of the hurricane and output the appropriate category of the hurricane based on the speed.

You might be interested in
What happens after the initial rollout of a new network generation?
VLD [36.1K]

There was an allegation that  the network caused Coronavirus

The different generation of Network are:

  1. First Generation (1G)
  2. Second Generation (2G)
  3. Third Generation (3G)
  4. Fourth Generation (4G)
  5. Fifth Generation (5G).

  • The newest generation of network is the Fifth generation which is known as 5G. After the necessary testing which found its safe and effective to use, it was implemented in some part of the world.

In conclusion, the initial roll-out of the network coincidence with the breakout of Corona-virus in China and some group alleged that the network caused the out-break of the Virus. The claim was later fought baseless.

Learn more about 5G Network here

brainly.com/question/24570283

4 0
3 years ago
Select the correct answer from each drop-down menu.
Mashcka [7]

Answer:

plz gie brainlest and anser is down there and ghost should of never been beytread

Explanation:

image editores and  adobe  photo  shop

6 0
3 years ago
What can a user do using the Contact Group dialog box? Check all that apply.
RSB [31]

Answer:

1,2,4,5,7

Explanation:

Had the question

3 0
3 years ago
Read 2 more answers
By default, what appears on your screen whenever a new email arrives?.
Troyanec [42]

By default, the appears on your screen whenever a new email arrives is a  Desktop Alert.

<h3>What is a Desktop Alert?</h3>

This is known to be a kind of  a notification that often shows on your desktop when a person is said to receive a new email message, a meeting request, or others.

Note that the Desktop Alerts need to be turned on by default and as such, By default, the appears on your screen whenever a new email arrives is a  Desktop Alert.

Learn more about Desktop from

brainly.com/question/7221406

#SPJ1

7 0
2 years ago
Describe orderly how to save a Word document into a folder​
ivann1987 [24]
In order to do that you go onto the document you are going to save, on the top left it has the word “file”, click on that, once clicked it should say “Save as” and click on that, it will then ask you where you want it or which folder and you click the folder you want and finally click “save”
7 0
3 years ago
Other questions:
  • What is the highest education degree available at a community college
    14·1 answer
  • Assign a variable solveEquation with a function expression that has three parameters (x, y, and z) and returns the result of eva
    6·1 answer
  • A 1400 kilogram car is moving at a speed of 25 m/s. How much kinetic energy does the car have?
    15·2 answers
  • Which describes a design theme in PowerPoint? a set of elements that unify the slides and complement the topic a printed handout
    11·2 answers
  • Which of the following is the key benefit is offered by the Internet channel? Group of answer choices Deeper assortments Immedia
    7·1 answer
  • Which of the following is the answer?
    5·1 answer
  • The area surrounding your car that can't be seen from the driver's seat is called
    14·2 answers
  • Suppose that L is a sorted list of 1,000,000 elements. To determine whether the x item is in L, the average number of comparison
    14·1 answer
  • Why can i go to discord if my school blocks it-
    9·1 answer
  • if you want to build a smart-glove that responds based on the direction and speed a user moves their hand, what sensor should yo
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!