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

Cocaine may ________ symptoms of schizophrenia by ________ dopamine levels.
Hi everyone! I need help with College Algebra. Can you tell me if I did this right?
Help me Please Please Please Please Pleaseeeeeeee Use the information about Roger Clemens on page 444 to explain how you can determine how long a baseball will
Colin is making a bulletin board and note center. He is using square cork tiles and square dry erase tiles. One or every 3 squares will be a cork square. If he
Use algebra to evaluate the following limit ((3+h)^2-9)/h
Which of the following sentences is from an autobiography? A.) I loved to go dancing with my frinds B.) Cheryl Day had a wonderful sense of humor C.) Mrs. Bear
Leaving hints or clues about the future events would be considered: A:symbolism B:metaphor C:irony D:foreshadowing
a. Metal ion can be pushed out of position B. Metal form covalent bond C. Metals are brittle
Find any points of discontinuity for (x-3)(x+1)/(x-2)
A treasure chest sinks at a rate no less than 20 feet per second. The floor of the ocean is at most at -4,200 feet. Will the treasure chest reach the ocean floo