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

In which area did the south have an advantage over the north in the civil war
who speaks english in canada during the early beginnings?
What is the definition of bullying?
SOMEONE HELP I NEED IT BAD!!! solve for x
Which of the following BEST describes the process of developing and maintaining a strong family relationship? A. avoid conflict as much as possible, avoid com
Select the ways in which a bill may die. Select all that apply. the Rules Committee or Senate Desk never assigns it an HR or S number a special interest group
Consider the following quadratic equation y=2(x-7)^2
A non-living factor in an ecosystem, such as dirt, air, or rain.
A single hydra can produce offspring by growing a new individual from any portion of its body. What is the reproduction method of hydras? A-binary fission B-bud
The airplane in the scale drawing has a wingspan of a feet and a tailspan of b feet. if the tailspan in the drawing is 2 inches, and ab = 3, what is the actual