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

If a slope of a line is 2/0 is it 0 or undefined?
What is the mean of 87, 93, 86, 90, and 84?
“The genetic code is universal.” Explain this statement.
The height of a rectangular prism with a 20 cm by 12 cm base and a 30 cm diagonal.find the unknown dimension
Determine whether the sequence coverage or diverges. If it converges, give the limit. 48, 8, 4/3, 2/9, ...
which seismic wave moves through earth at the fastest speed?
The length of a diagonal of a cube with edge length 25cm
Dominick lives 1 3/4 miles from his school.  If his mother drives him half the way, how far will Dominick have to walk to get to school?
which seismic wave moves through earth at the fastest speed?
How do you Factor c(squared)-8c ??