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 is the product of (7 √8)(4 √5)?
Which of the following are true statements about regular polygons? check all that apply.
The transfer of new mexico to the united states meant that the territory quickly lost its:
Which estimate is most reasonable? Ken purchases a box of cereal for $2.89, cheese for $5.04, lettuce for $1.93, and milk for $1.99. He has $15 with him. Abo
Lower Nubia began to challenge Egypt. True or False?
Solve the inequality for v. 20 ≥ v - 4 Simplify your answer as much as possible.
Which data set has an outlier? 25, 36, 44, 51, 62, 77 3, 3, 3, 7, 9, 9, 10, 14 8, 17, 18, 20, 20, 21, 23, 26, 31, 39 63, 65, 66, 69, 71, 78, 80, 81, 82, 82
Why did henry david thoreau build a cabin on walden pond? a.to recover from a debilitating nervous breakdown b.to conduct an experiment about living in solitude
what does your reciting voice lack that your conversation voice has
The following graph shows the functions f(x) and g(x): graph of function f of x equals x squared and graph of function g of x equals x squared plus 5 The func