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

there are 12 small gift bags .Each bag ca
A base 7 three-digit number has its digits reversed when written in base 9. Find the decimal representation of the number.
Write the number in two other forms: 0.632 --------- The example reads: 0.200 / 200 thousandths / 200 x 1/1000
what is the complete subject in the following sentence? the young boy rode the bus to school.
Can some one help me ? ???
What is the value of 3 in 63.856
theo had a balance of -$4 in his savings account. after making a deposit, he has $25 in his account. what is the overall change to his account?
What prevents ions from crossing the plasma membrane via simple diffusion? A. Ions are too large. B. Ions carry a charge. C. Ions are hydrophobic. D. Ions do n
What is 3.82 rounded to the nearest whole number?
why is the use of the inquiry process a practical way to approach science HELP