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 answers to the 21 and 22 pages of the only grammar and style workbook you'll ever need
What is the formula of Sodium Sulfide? A) Na3S₂ B) NaS₂ C) Na₂S D) Nas
- Briefly describe how you would prepare a simple acid base indicator.
Right triangle abc is on a coordinate plane. segment ab is on the line y = 2 and is 6 units long. point c is on the line x = −3. if the area of δabc is 6 square
It costs $2.50 to rent bowling shoes. Each game costs $2.25. You have $9.25. Write and solve an equation to find out how many games you can bowl.
oh wow i had no idea that is a lot of employees i also want to know what types of programs the federal government fund for its citizens can you give me three ex
Mrs. Bowlin organized the glue sticks into 7 bins. How many glue sticks were in each bin? ANSWER QUICKLY PLEASE ANYONE
oh wow i had no idea that is a lot of employees i also want to know what types of programs the federal government fund for its citizens can you give me three ex
you deposit $4000 in an account earning 4% interest compounded quarterly. How much will you have in the account in 10 years
What happens to earnings in a cooperative?