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

why does honesty mean to you ? please state three reasons
Figure ABCD is a parallelogram. Parallelogram A B C D is shown. Angle B is (2 n + 32) degrees and angle D is (4 n minus 2) degrees. What is the value of n? 3
Which clue from the story BEST shows that "jealousy was Morgan's Achilles' heel" means "jealousy was Morgan's worst weakness”? Click Read It and reread the high
What is the X and Y value?
An object accelerates from rest at a constant rate covering a distance of 12 meters in 4 seconds. What is its rate of acceleration? Put your answer in this form
What are the 2 most widely used iQ tests
3. Given the following similar triangles. Find the values of variables and label all the unknown angles measurements.
What is the length (magnitude) of the vector (2,-1)?
A small object moves along the x-axis with acceleration ax(t) = −(0.0320m/s3)(15.0s−t) . At t = 0 the object is at x = -14.0 m and has velocity v0x = 7.80 m/s.
Providing morny, resources or opportunities in order to gain profitable returns in the future is called