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

Cancer is a disorder in which some cells lose the ability to control which of the following? A. their size B. Their weight C. their mass D. their growth rate
Sweatt v. Painter (1950) represented the NAACP’s attempt to focus on segregation in which area? The military Public education Public transportation
Earth receives thermal energy from the sun via radiation. Which of the following is a result of this energy transfer?A. There is matter to produce carbon compou
The length of a storeroom is 4and3/5 meters.the storerooms width is 3/4 meter shorter than its length. What is the perimeter of the storeroom?
A discussion about nullification in the south during the american antebellum period was caused by
what are the 6 benefits of a market economy for producers?
2/5×5/6 find the product
What is x2 – 6 = 16x + 30 rewritten in standard form, then factored?
If the cost is $100 plus a variable cost, the function is C(n)= 100+(2-0.01n)n. the selling price is $2.50 per unit. the revenue function is R(n)=2.50n. determi
Ms santos seashells into 4 row she puts 6 seashells in each row how many seachells are there altogether