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

According to the Montagnais, how was the world created?
Who were Minutemen?/American History/
Which sentence includes faulty coordination? Pride and Prejudice is a classic love story, and it was written by Jane Austin. Mr. Darcy is the main male characte
18 is 60% of what number
what is the value of the digit 4 in the number thirty- five dollars and eighty- four cents
a square boat made from iron has overall dimensions of 2.00 cm x 11.0 cm x 11.0 cm. it has a mass of 213 g. what is its density 242 g/cm3 0.880 g/cm3 51500 g/cm
Which statement best describes the equation (x + 5)2 + 4(x + 5) + 12 = 0? A)The equation is quadratic in form because it can be rewritten as a quadratic equatio
Are Insurance plans required to cover infertility services? Why or Why not
Find the quotient. -10d 4e3f 5 ÷ 15d 2e 2f 1. 2/3 def 2. 1/3 d^4 e^3 f^2 3. -1/3 d^2 e^2 f^2 4. -2/3 d^2 ef^4
Estimate the average speed,in m/s,with which tge hair on your head grows. Make this estimate from your own experience nothing, for instance,how often you cut yo