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

Which pair of rectangles is similar ? A 3,8 and 2,6 B 3,8 and 2,5 C 3,9 and 2,6 D 3,6 and 2,9 ?
When is a semi colon necessary
do any body know how to add a+50
All are examples of speed except ______. 5 miles per hour 6 miles per hour north 125 meters per second
is soap polar or no polar explain
Is -16 bigger than 12
Was George Washington president during the Articles of Confederation?
WHAT IS 5/8 PAGE IN 2/3 OF A MINUTE
Desert, tundra, grassland, and chaparral are examples of __________ found in North America.
Which word in the passage contains a root that means "believe"? Museums of all types employ museum curators. A curator oversees either the whole museum or sect