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

I am sick of the reprimands I get from my driver's ed instructor! a.warnings b.scoldings c.threats d.routines
What are three equivalent ratios for 5:45?
Tim can mow 4 lawns in 6 hours. How many lawn(s) can he mow in 1 hour?
HELP PLEASE COME FAST
Which sequence of transformations will produce similar but not congruent figures? Choose all answers that are correct. A. Figure PQRST is rotated 180° counterc
Could an average star, such as our sun, become a neutron star? Explain your answer.
A cereal box has a height of 32 centimeters. It has a base with an area of 160 centimeters. What is the volume, in cubic centimeters, of the cereal box.
Abolished indentured servitude and slavery in the United States
Why do parents focus on the negative aspect of teens?
Which term best describes Russia’s transition to a market economy? compromised successful difficult corrupt