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

What are some ways a new mining project will impact the area in which it is located
Add or remove commas Justin left his old soft faded, sweatsuit at the gym.
Will vote brainliest.
Maria's wages are 2400
A particular fruit's weights are normally distributed, with a mean of 786 grams and a standard deviation of 15 grams. If you pick 10 fruits at random, then 20%
Corrina is a 25-year-old pregnant woman. her need for _____ is 50% higher than before she became pregnant
Given the functions: f(x) = 7x + 10 and g(x) = 1.75x + 10. Make a table of values for each function to determine which value of x is closest to where g(x) begi
what is the effect on the blood flow in the blood vessel artery when a person is running ?​
Can I have my French checked? Did I write all my French in the present tense?so I am meaning to say " I have a backpack, my bike, a tent, my sleeping bag..."I h
Help plzzzzzzzzzzzzz