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 am having trouble on a math problem for over the summer Use the distributive property to express the sum of 48+84 as a multiple of 2 numbers with no common fa
What will be the next digit in the sentence 1, 1, 2, 3, 5, 8, 13, 21, 34?Please show me your way of thinking :)
A group of 18 people ordered soup and sandwiches for lunch .each person in the group had either one soup or one sandwich.the sandwhiches cost $7.75 each and th
Name the singer/songwriter of “On the 4th of July.”
If you are standing in front of 1600 Pennsylvania Avenue, what are you looking at? a. the Capitol building b. the Metropolitan Museum of Art c. the White Hou
What was manorial system
Write an equation in point-slope form for the line through the given point with the given slope. (9,-1); m=4/3. I need help!
What is the source of the following phrase: “Government of the people, by the people, for the people”?
Who was Samuel F.B. Morse?
A group of 18 people ordered soup and sandwiches for lunch .each person in the group had either one soup or one sandwich.the sandwhiches cost $7.75 each and th