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

An ionic bond is a bond in which atoms share electrons. atoms are repelled by each other. atoms share neutrons. atoms of opposite charges attract each other. at
A 7-foot ladder is leaned against a building in such a way that the bottom of the ladder is 4 feet from the base of the wall. Find the angle formed between the
the price of an item will go up if the supply decreases true or false
10. Your Turn: Find the equation of a line that is perpendicular to y=2x+7, and passes through the point (-4, 7). SHOW YOUR WORK *
10. Your Turn: Find the equation of a line that is parallel to y=2x+7, and passes through the point (-4, 7). SHOW YOUR WORK *
What's the answer to this ?
The levels of analysis most often used to understand complex human behavior do not include a _____ approach. canonical social-cultural biological psychological
Ann and Betty shared a sum of money in the ratio 2:3 Ann received $120 what was Betty's share
The factors of production include natural resources, labor, government assistance, and entrepreneurship. a. True b. False
Jobs and markets in the informal sector are __________. A. not regulated or taxed B. operated in accordance with tax procedures C. established with government o