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

Which of the following inferences is best supported by the passage below (lines 5–8)? My little horse must think it queer To stop without a farmhouse near Betwe
Help help help help English
3/5 + (-4/11)...........
Oreo cookies are now extremely expensive to purchase. Instead of buying oreo cookies, i now want to buy chips ahoy. What determinant of demand does this likely
how do you handle losing do you feel calm crossword
what is the LCM of 900 and 30000
where do plants store the converted energy of sunlight
The board of directors at Blaine Glassworks want their company's products to be of higher quality than the products of other companies in the market, and think
Which is a solution for 7 (x plus 2) equals 35?
Besides the fact that Hurston grew up in Eatonville, why reasons do you think she might have had to use the town as the setting for her novel their eyes were wa