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

Zoe buys a new car that is valued at $24,000. The car will depreciate at a rate of 1% per month. What is the value of the car after 6 months?
Change 9 1/3 to an improper fraction
Write 10 to 15 in the lowest term
Place each step involved in the evolution of the Woman's Rights Movement in the correct order.
The school band is having its end-of-year dinner at a local restaurant. The director wants to give the server a 20% gratuity, and the sales tax is 8.25%. He wil
Christian is putting his DVDs away. He put 11 of them away and still has 43 left to put away. How many DVDs does Christian have? * please show your work of how
1 What is the value of this expression? 2 +4² x 4 - 12
When would working with machinery be a common type of caught-in and caught-between hazard?
What groups of people lived in Haiti before the revolution?
Plz help me...............