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

Write the following in standard form: 4x3-2x4 8 x 10 x 2-4
what is the net decimal equivalent rate as a percent for a series of trade discounts of 15 12 and 8
2 meters is the same as how many feet?
Who is melinda french
How much will you pay per month if you buy a car worth $17499 at a 5.4% APR and spend 60 months paying off the loan
A plant system must balance its need for water with its need for carbon dioxide and oxygen. If too much water is lost, the stomata will close. How does this aff
Which man-made features are typically parallel to the shore?A) Piers B) Breakwaters C) Groins D) Jetties
what is the area of each sqaure
Which value represents the slope of the line that has an x-intercept at (-4,0) and a y-intercept at (0,-12) in the coordination plane?
Question 40 (1 point) Based on the chart above, which statement best describes conditions in Texas after the end of Reconstrucion? a Even after Reconstruction,