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

i don't know how to do this one
How might the rate of conduction be affected if the fiber absorbs moisture ?​
Please just answer it’s Urgent
Solve for x. Write your answer as “x=__”
Ricky takes 2 coins at random from 3 quarters, 5 dimes, and two nickels in his pocket. 1) What is the (P) nickel then a quarter, without 2) What is the (P) nick
What are the three components that are included in a probability model?
#42 urgent please be certain
a. Name two different ways to name the plane shown in the figure. b. Name any three collinear points in the plane. c. Name any two intersecting lines in the giv
simplify 10 + 8k + 2
Explain how thermal energy is transferred from a heater.​