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

Jim has 1/3 of a box of cereal. He eats 1/3 of the remaining cereal. What fraction of the original whole box of cereal did Jim eat?
If a patient eats before ____, it may disrupt the expected blood sugar or cholesterol measurements.Answer: fasting blood work
Find the missing angle
All of the following statements about Nikita Khrushchev are true EXCEPT which one? A. He openly denounced Stalin's abuse of power. B. He worked to lessen the in
2) Which of the following images correctly depicts the direction of the Earth's velocity if Sun was suddenly eliminated?
Describe the historical development of the FBI’s Uniform Reporting Program, and list the crimes on which it reports. How is the ongoing implementation of the
Find the surface area and volume of the figure.
Aside from turning to the black market, how do consumers make up for goods that are rationed?
find area of sector==
what is the surface area of this?