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

Any help please???????
Which factor does not affect the resistance of a material? A. thickness B. weight C. length D. temperature
What is the best definition of “scrub suit”?
Which describes the electric forces inside an atom? A. Gravitational forces are much stronger than electric forces. B. Electric forces and gravitational forces
What is the family's reaction to Gregor's death? A. Happiness that his life is finally over B. Sadness mixed with a sense of relief C. Terrible grief a
The costs of promoting products are often
Within a group, which period, top or bottom is likely to contain atoms with the larger radius?
Kip started using tobacco about two months ago. He smokes multiple times a day. Which consequence is Kip at risk for as a result of his tobacco use? A. Fetal
Which of these groups would have been LEAST likely to be a major ethnic group in Latin America? A) African Eliminate B) Amerindian C) Arab D) European
What is the circumference of a circle with a radius of 56 ?