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 two events were major influences on modernist writers?
How are fossils symbols about belts helpful in deciding where to move The continents
45 - point question! Help me on the attached file and explain answer please! :D
what were the beliefs of the Federalist
15 POINTS Which of these themes recurs in Jane Austen’s novels? 1) revenge 2) industrialization 3) class distinctions 4) death
Why was President Truman considered to be weak on communism despite the federal government’s measures to investigate communists?
Which of the following lists include moderate to vigorous physical activities that you can participate in outside of school?
Is it true of false that the slope of a line equals the average speed of the object.
Which lines in the poem illustrate that death's power is an illusion? Sonnet 10 by John Donne Death, be not proud, though some have called thee Mighty and dread
Sea floor __________ involves plates under the ocean moving farther apart and colliding with continental plates that are then pushed away or toward each other.