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

True or False every tiny molecule of a sugar cube has the property of a sugar
HELP PLLLLLLEEEEEEAAAAAASSSSSSEEEEEEEEE
It is estimated that in Florida alone, almost 4,500 deaths occur annually due to __________ use. A. alcohol B.drug C.cocaine D. None of the above
Solve the equation on the interval [0,2pi) 4sin^2x-3=0
Lipids with high polyunsaturated fatty acid content are what at room temperature
A line passes through the point , 8−1 and has a slope of −3/4 . Write an equation in slope-intercept form for this line.
Why did Kentucky support the idea of nullification
The operating system allows the computer and its devices to communicate. A. True B. False
What is the 60th term in the pattern with the formula 2n +10
What Hispanic Nationality is Christina Aguilera?