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

Help me asap! The question is in the green box
2. What was the purpose of the draft during the Civil War? A. to destroy railroads B. to improve training C. to provide better food D. to get enough soldiers
From a hot-air balloon, Khalil measures a 36^{\circ} angle of depression to a landmark that’s 1304 feet away, measuring horizontally. What’s the balloon’s ver
9 Janelle ran 26. 23 miles in 4. 3 hours. How many miles did Janelle run per hour? A 5. 11 miles B 6. 1 miles C 21. 93 miles D 1. 13 miles
What is another way that producers convert energy, besides photosynthesis?
What were some of the methods used by management against workers?
The choices are: - ¿Dónde compro los sellos? - Perdón, Señor, ¿dónde compramos medicina? - ¿Qué compran tus amigas en el supermercado? - ¿Qué compra Ana en el s
Select the correct answer from each drop down menu. Tracy works at a sporting goods store that sells 18 snowboard models and 6 skate board models. She just got
To make the most informed purchasing decision, you should: • A. read descriptions to learn if the product has features you want. • B. read online testimonials t
Which of the male accessory glands encircles the urethra?.