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

Fossil fuels were created from plants and other organisms that lived millions of years ago. Their remains were trapped deep underground. Ture or False
Which of the following cities is closest to a dclla? a. Wahiawa b. Ewa Beach c. Kailua d. Walalua
succinic acid has a simple formula of C2H3O2 and a molecular weight of 118 gram/mol. what is the molecular formula of succinic acidA) C4H6O4 B) C2H3O2C) C8H12O8
Question 1 1 pts "Josh ate breakfast before school." According to the video, what part of speech is the word "before?" O Preposition O Adjective O Pronoun O Adv
HALP!!! GIVE CORRECT ANSWER AND YOU WILL BE MArKED BRAINLIEST!!!
I would be GREATLY appreciative if you helped me out. Oh and also I WILL GIVE BRAINLIEST. Solve for x: −3(x − 2)2 + 17 = 0 Round your answer to the nearest hund
Jim charges a $25 sign up fee and $15 a month to be in his club. How would it cost to be in the club for 1 year?
The definition on those 5 words in your on words
Question 5 (1 point) A positivist believes that research should be
Find the trig ratio. Reduce to lowest terms.