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

why did foreign powers treat the vs goverment under the rticles of confederation with scorn
Sheba opened a retirement account with $36,500. Her account grew at a rate of 7% per year compounded annually. She made no deposits or withdrawals on the accoun
11 The greatest amount of energy released per gram of reactants occurs during a(1) redox reaction (2) fission reaction (3) substitution reaction (4) neutralizat
What are bacteria called that require a constant supply of oxygen in order to survive? Select one of the options below as your answer: a. Obligate aerobes b. Ob
describe how to find the lcm of three numbers
Document 3 A common misconception is that the semiliterate Mongols came out of the steppes of Mongolia, quickly conquered far more advanced civilizations, and l
Please help me!!! I don't understand how to solve it(((
Which medium is the greatest threat to the printed newspaper? a. Internet b. television c. radio d. e-mail
what elements are in olive oil? i am really thankful if u answer this :) ( all elements in olive oil )
what are some good english PRO/CON topics? for example, abortion (good/bad), cats or dogs. please make them interesting and not very common, like ANIMAL TESTI