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

Which type of text tells you how to do something? A persuasive B Expostiory C Narrative D procedural
The probality of an event must be expressed as a percent
What’s the acts passed by Britain after the Boston tea party were called in America
Write a word phrase for each algebraic expression. 25-0.6x 2/3y+4 10 points
Find the value of x in each case:
who do you think would win godzilla fighting all his enemies at the same time.
Each batch of cookies that mrs. claus makes takes 20 minutes in the oven. If the oven is on for 3 hours ,how many batches of cookies did mrs. claus make?
What is the math term for you taking parentheses away?
The library is at point (1,1). The gym is at point (1,-4). The chemistry lab is at point (-3,6). The restrooms are at point (-3,1). The teacher's lounge is at p
Jenya paid $40 per month for a cell phone plus $1.25 for each international text message she sent. she sent 50 international text messages in a month. What was