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

Solve this: 4x + 5x = 10(x - 2) Please, answer ASAP as my sheet is due in 10 minutes.
the radius of a sphere is 3 inches. which represents the volume of the sphere? 12π cubic inches 36π cubic inches 64π cubic inches 81π cubic inche
Manipulating syntax allows authors to a) avoid using punctuation b) challenge readers to work hard c) create mood and suspense d) include more secondary sources
We participate in the ______________________cycle every time we breathe. tectonic nitrogen phosphorus carbon-oxygen
Alkaline earth metals do not react with oxygen. true or false
which president was shot on july 2nd
in how many ways can a student arrange 6 textbooks on a locker shelf that can hold 4 books at a time? 30 120 240 360
The compound 1,2- dibromopropane could be formed from the reaction of
I'm so stuck on this question please help me
Which statement about the planets in our solar system is true? A. They orbit in the same direction and in the same plane. B. They orbit in the same direction