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

the adjectives in the following sentence: The weekend conference is in town today and tomorrow.
Someone please go through this with me I beg, I will award brainiest! Maths homework due in for the 8th.. ;((
PQR is similar to XYZ. Drag the answer into the box to match each part of PQR with the corresponding part of XYZ.
Ashley is preparing for a horse riding competition. She has trained her horse for 5 hours and has completed 195 rounds. At what rate has Ashley ridden her horse
Approximately how much of the Ottoman Empire was lost by 1914?
I need help with this one question. Thanks
what causes variations in traits like hair color,eye color,and height
Final questions I'm asking if you've been keeping up. Thanks in advance.
At what angle should you hold utensils while feeding patients at mealtime
A train travels 81 kilometers in 3 hours, and then 63 kilometers in 4 hours. What is its average speed?