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

Who was Canada's FIRST prime minister.
What is the answer to split 56 in the ratio of 3:4
How did allies hide from Germans D-day invasion plan?
Bethany's dog eats 450 grams of food per day. How many kilograms does the dog eat in a week
If the probability of giving birth to a boy is 0.52, what is the approximate probability of giving birth to 4 consecutive boys?
is 10 yards less than 360 inches
The fetus is nourished by the __________ during the first 7 weeks and by the _______ from week 8 through birth ?
Lane is 10 times Mels age.  If the difference in their age is 27, how old is Mel?
The data represent the ages of people working at a store. 19, 27, 20, 26, 20, 24, 32, 23, 20, 19, 21 What is the first quartile of these ages?
what is a similar quote for Romeo and Juliet "my bounty is as boundless as the sea . My love as deep , the more i give to thee , the more i have , for both are