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

Gaspar writes the algebraic expression 5b +3.79. It represents the total cost, in dollars, of buying 5 bagels and a container of cream cheese. Identify any vari
Drag the cards to create a two-digit number that matches these rules. Note: Not all cards will be used. ● 0 2 is one of the digits 10 is the nearest ten when ro
All are true about the American Revolution EXCEPT Many soldiers died from cold and disease at Valley Forge. The colonists did not receive any foreign aid during
Differentiate between an organic combustion reaction and an inorganic combustion reaction.
In how many ways can a committee of five Democrats and four Republicans be formed from a group of twelve Democrats and twelve Republicans?
A 16.0 kg canoe moving to the left at 10 m/s makes a head-on collision with a 19.0 kg raft moving to the right at 7.0 m/s. After the collision, the canoe moves
A population of 50 foxes in a wildlife preserve doubles in size every 14 years. The function y = 50.2*, where x is the number of 14-year periods, models the pop
Solve each equation. |x+5|=-3
Solve each equation. |x+5|=-3
In how many ways can a person order one ice cream cone with 3 different flavors of ice cream if there are 14 flavors to choose from and it matters to the person