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

from y^2+5y-7 subtract y^2-3y-4
What was the major reason for Napoleon's defeat during his invasion of Russia in 1812? an advanced Russian military superior Russian troops a natural disaster t
Horace Bushnell is associated with which idea? a.religious liberalism b.religious fundamentalism c.religious intolerance d.religious liberty
What does Martin Luther King "I Have a Dream" speech say about equality? Give evidence please....
CAN U GUYS HELP ME WITH THIS PROBLEM?
When a newly formed cell enters into interphase and begins conducting metabolic functions, it is in _____.
A young boy has been found, and police are trying to locate his family. They take a DNA sample from him and begin collecting DNA samples from families who have
Horace Bushnell is associated with which idea? a.religious liberalism b.religious fundamentalism c.religious intolerance d.religious liberty
which sequence represents the correct levels of organization for multicellular organisms
Jill traveled to Canada and bought a new lamp for $460 Canadian dollars. In US dollars (to the nearest cent) this is equivalent to? A) $517.77 B) $450.52 C) $57