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 arraignment a bail hearing and a trial for a felony offense are all conducted at which Tier of a state court system
when and where was the first permanent English colony founded1607 Virginia company founded Jamestown 1609 John Smith founded the Virginia settlement1586 sir Wal
Which of the following could be used to evaluate the expression -6 ( 4 2/3) ? A (-6) (4) + (-6) 2/3 B:( -6 ) (4) x (-6) 2/3 C: ( -6+4 ) + (-6+ 2/3) D: (-6+4)x
!!PLEASE ANSWER THIS ASAP!! The following question has three parts. first answer part a, then part b, and conclude with part c. use the picture above to answer
Two solid objects, a and b, are placed in boiling water and allowed to come to temperature there. each is then lifted out and placed in separate beakers contain
The zoo can be noisy. Which identifies the predicate adjective? A.) Zoo, B.) can, C.) be, D.) noisy
He acceleration of gravity is a constant equal to _______ meters per second squared. A. 7.6 B. 8.4 C. 9.8 D. 10.2
What does every chemical reaction involve?
Which of the quadratics has a graph with x-intercepts of 5 and -1?
What is the resolution of “Raymond's Run”?