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

Paint thinners and dry cleaning solvents are considered sources of air pollution. a. True b. False
How does Europe compare in size to the other continents of the world? A. It is the second smallest continent. B. It is the largest continent. C. It is the small
Express 6.13 as a mixed number.
Find the gradient and the coordinates of the y-intercept for the graph: y= x+6
Which industry is the source of essential raw materials? A.) Construction B.) Mining C.) Agriculture, Forestry, and Fishing D.) Oil and Gas Extraction
Which clause is subordinate? A. There were baby goats running all over the yard! B. After an hour, all except one had been captured. C. Someone had not shut
A list of books about a particular subject or field of study is called what
Which statement about epic heroes is most frequently true? Heroes have specific character qualities that relate to a foreign culture. Heroes antagonize enemy c
Which equation shows the correct use of the Power of Products Property? • (2x⁵y²)³=6x⁵y² • (2x⁵y²)³=6x¹⁵y⁶ • (2x⁵y²)³=8x⁸y⁵ • (2x⁵y²)³=8x¹⁵y⁶
If five times a number is subtracted from twelve times a number, the result is seven less than twice the number. Find the number.