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

Find the polar equation of an ellipse with its focus at the pole and vertices at (−1,0) and (3,0).
In the cultural production process, the people who control the flow of information between producers and customers are called:___.
complete the remainder of the table for the given function rule.
Specific results that companies try to achieve such as net sales and profits are common results called __________
What type of insulin is administered at bedtime, either with or without another type of insulin?
When consumers believe that various items provide the same set of attributes, brand _________ results.
Which spectroscopic tool would be best for distinguishing a sample of 1,2,2-tribromopropane from 1,1,2-tribromopropane?
From 2013 to 2014, real gross domestic product (gdp) in the united states increased by?
Calculate the velocity of money if real gdp is 3,000 units, the average price level is $4 per unit, and the quantity of money in the economy is $1,500?
Identify the equation in slope-intercept form for the line containing the points (−4,1) and (2,3). y=1/3x+7/3 y=1/4x+2 y=1/2x−4 y=1/3x−5/3