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

tanisha ran 3/5 of a 26 mile race in 3.2 hours.if she ran at a constant rate,what was her speed in miles per hour?
write the value of the dijit 5 in 657
How to calculate 100MB at 56 Kbps to transfer time?
The cost for n students to attend a workshop is 7n+12 dollars. What is the cost,in dollars for  students to attend?
what is the equation of a line in slope-intercept form with a slope of -3/4 and a y-intercept of -2
How and where has oil, road development, mining, dams and agriculture contributed to local economic, political, and land use issues?
On a TI-84, how do you stop it from giving you simply a number for an answer when you put in a polynomial divided by another polynomial?
can someone help me on this question! please! :)Evaluate the formula V= BH/3; B = 36 in.² and h = 11 in.
what is the 7.5x10 exponent 5 of scientific notation
how many 5/8 pound bags does it take to make 13 pounds of soil?