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

what factor is not a part of the highway traffic system? a. the environment b. highways c. drivers d. car washes
The ratio of girls to boys in a school is 2:3 What fraction of these students are boys?
Solve: 3x 31 = x – 25
Write a polynomial that fits the description: A fifth-degree polynomial with leading coefficient 4
Make a conjecture about the sum of the first 30 positive even numbers
Evaluate 4|-2| - |-3|
write the equation of the line that passes through (4, 2) and is parallel to the line y = 2x – 1.
Do the measures 9, 12, and 15 create a right triangle?
How might you determine if the patient is leaving with a full understanding of the treatment plan?
if juliet consistently buys health insurance for twenty years but never suffers a costly illness, were her premium payments wasted?