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

How much work must be done on a system to decrease its volume from 20.0 l to 13.0 l by exerting a constant pressure of 4.0 atm?
what is the inverse of the function below f(x) =x/5 -2
What process is described here? a concentration gradient of h+ ions is created in the periplasmic space by actively transporting the ions across the membrane us
Which job in the Finance career would be best for someone who had knowledge of banking and credit systems and the ability to repetitively process transactions?
Jessica has $35. She gives 2/5 of her money to her sister. How much money did she give her sister?
What island does Italy appear to kick?
How many electrons are needed in the outer energy levels of most atoms to be chemically stable?
what SD can friction do to moving objects
9 is what percent of 16
"a metal sphere of radius 5.00 cm is initially uncharged. how many electrons would have to be placed on the sphere to produce an electric field of magnitude 1.5