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

An error occurs when the DNA of a cell is copied. However, the cell does not divide after the error is detected. Which statement best describes the cell cycle f
Describe five ways that you can stay safe when you photograph
President Kennedy achieves his desired tone mostly through a.poetic language b.powerful imagery c.everyday language d.the deep timbre of his voice
Michelle buys 13 bags of gravel for her fish aquarium. If each bag weighs 12 pounds,how many pounds of gravel did she buy?
does regular exersice raiseblood pressure
Hello, how do i do the following? sinφ = 1 √2 tanφ = 1 √3 2cosφ = 1 Thanks a heap!
the sum of one fourth of a number and 17 is equal to the sum of one fifth the number and 18. find the number.
who is the ruler of a tribal rule
Write a polynomial function of minimum degree in standard form with real coefficients whose zeros include those listed. i and -i
In what ways were Britain’s American colonies affected by events across the Atlantic, and how were their societies taking on a life of their own?