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

Is there a way to change your username on here?
What does the "gaudy melon" flower in robert browning's "home thoughts, from abroad" symbolize? springtime in italy springtime in england springtime in paris no
What is the y-intercept for this function? a (0, −3) b (3, 0) c (−9, 0) d (0, −9)
Based on your understanding of word roots, what does astronomy mean? A. the study of rocks and other non-living objects B. the study of matter and energy C. the
susan ate 3/8 of a pan of brownies. Which decimal represents the amount of brownies left? A 0.375 B 0.625 C 0.325 D 0.675
Quinoa farms just paid a dividend of $2.95 on its stock. the growth rate in dividends is expected to be a constant 3.4 percent per year indefinitely. investors
factor completely 4a^3b^5-18a^2b^3+8a^3b^3
Solve system of equation using elimination by addition. Will give brainliest!!
Gramática I. At a university literary club, students are meeting to discuss poetry they’ve been reading. Complete their doubts, affirmations, and reactions with
If savings account interest rates are very low, then every dollar you deposit may earn little or almost no interest. At the same time, increasing prices of cons