unknown152714 unknown152714
  • 03-11-2020
  • Computers and Technology
contestada

Input a number and find the square root only if the number entered is greater than or equal to zero.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

number = float(input("Enter a number: "))

if number >= 0:

   print(number**0.5)

I hope this helps!

Answer Link

Otras preguntas

According to the Declaration of Independence, when should the people have the right to change their government? A. When a government wants to raise taxes B. Whe
4(10x+2)-40x Each step of the equation
what is the answer??
Which of these is a problem that globalization poses for the U.S. government? A. Loss of tariff revenues B. Increased security concerns C. Opposition to its hum
There needs to be work shown
Write complete sentences using the following regular present-tense ir verbs in the first-person, singular yo form somewhere in your sentences to describe one m
Select the correct answer from each drop-down menu. are The image is a food web for a forest ecosystem. Fungi and bacteria decompose the bodies of organisms. He
What are the possible numbers of positive, negative, and complex zeros of f(x) = −3x4 + 5x3 − x2 + 8x + 4?
Which statement about the Northeast is not true? A. New York is a popular tourist destination. B. All states in the Northeast are in New England. C. Pennsylvani
According to Aristotle, democracies that do not follow the rule of law can fall victim to?