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

Please label the water cycle part correctly I accidentally forgot how to do this so pls.
Which one should i pick
What was the effect of the crusades on the muslims world?
ad’s sudden chattiness was shocking until I thought about why he was telling me so much. In the car, I was a captive audience. In order to learn to drive, it wa
Which answer choice would affect the cultural character of a place? A).an influx of immigrants to an area B).an economic depression that leads to loss of jobs
What are some incentives to living under a communist regime?
Explain the different sides of Dionysus
Solve the following inequality for m. Write your answer in simplest form. 10m -1 < 4m - 3
What are the details about the topic of night walk
when your injury has been iced and wrapped what do you do next