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

Geometry help I don’t know where to start. Does it want me to have it equal each other?
3×2+6÷2easy points so just answer it
Solve for x, x^2-3x-5=0
whats 20 x 1??????????
how high does a rock rise in the air if it is thrown upward at an initial velocity 48.3ft/s and if its time of ascent is 1.5s?
Which of these is the BEST description of "Hoovervilles"? A) shantytowns in which homeless families lived during the Great Depression B) housing projects assoc
How can the random distribution of alleles result in a predictable ratio
In the stage of the body’s react to stress the body becomes extremely susceptible to disease because it seem to lose to respond to any new stress
9+10 ii am struggling really bad plz help.
which of the following is considered the most important and yet the most threatened ecosystems on the planet?costalwetland rainforestscoastal rangesargentinian