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

WILL UPVOTE THE RIGHT ANSWER!!!! I ONLY HAVE 25 MINUTES LEFT The passage below is an excerpt from Robert Owen's A New View of Society (1813-1816). Use the passa
A uranium atom has 92 protons in its nucleus. how many electrons does it have?
Goran needs to drive 14 miles to work. so far, he has driven 2.2 miles. how many more miles must he drive?
What is the solution to the following of equations {5x-3y=34 x-2y=4?
The difference between 6 thirty-sixes and 4 thirty-sixes?
julie spends$5.62 at the store. michael apends 5 times as much as julie. jeremy spends $6.72 more than michal. how much does each person spend. please he
What is the simplest radical form of 45?
The freezing and expanding of water in the cracks of rocks is a form of
Which one is used in magnets often nickle or lead?
The theme of a poem describes the _____ and the tone of a poem reveals the _____.