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

Order these numbers from least to greatest.4.5, ,4.484.048 , 4.4851
peace and security are like two sides of a coin why ?describe in detail​
Based on the data in the two tables, which statements are accurate? check all that apply. Voters who were college graduates were more likely to support clinton
Sophia and Tom share a sum of money in the ratio 3:5 Tom got £40 more than Sophia. How much did Tom receive?
What kinds of experiences have allowed you to explore and develop new skills? Please help me, I'll mark u as a brainlist!
Simplify:6×⁷y⁴/3×⁵y²a. 2x¹2y 6x7y!b. 2xyc. 2x³y²d. 2x²y6ABCD​
What is the purpose of this story?
-2(2x+y)=28 What is the answer in this form, y=mx+b.
Find x, and then any unknown angles in the quadrilateral
Alcohol is a colorless odorless pungent drug that acts as a: