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

What are the Characteristics of theta waves
How does donatello's david exhibit humanist thought of early renaissance?
Identify the theme for passages 8-13. Explain how your answer relates to the story. (PLEASE HELP ME; ASSIGNMENT DUE TOMORROW!)
7. Select Earthquakes and Major Plates on the World Geology map and observe earthquake activity around the South American plate. Based on your observations, wha
Kennedy studied multicultural intermarriage and described a phenomenon she called a "triple melting pot," referring to the multicultural intermarriage within th
Traditions based on what muhammad did or said on his own initiative are known as
The length of a rectangle is three times its width what is the width if the area is 147 square
Kimtoya and Sidney are participating in a long-distance bike tour. The rate at which Kimtoya is riding is represented by the equation y = 12.5x, where x is the
One florist made 16 bounquets in 5 hours . A second florist made 40 bouquets in 12 hours.which florist makes bouquets at a faster rate?
In which quadrant is point located.(-10,-2)