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

The width of a computer monitor is 30 cm. If the perimeter is 144 cm, what is the area of the computer monitor?
What Does "Turning of the Tide" Mean?
How do you solve p+9 <7 AND graph it???
The specific temperature at which a substance changes from a liquid to a gas is an example of a
Rheumatic fever is a bacterial disease that can result in degeneration of heart valves that would cause?
Which of the following is the equation of a line parallel to the line y=3x+2, passing through the point (10,1)? A. 3x - y=29 B. 3x + y=29 C. -3x - y=29 D. 3x +
What are the essential 4 parts for a civilization to develop? Explain how rivers were the source of civilization?
Solve by elimination:4x+7y =8-8x -14y= 5
What effects did the battle of bunker hill have?
Find the explicit formula that produces the given sequence. 3/2, 3/4, 3/8, 3/16,...