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

L= 6ft W = 4 ft what is P= A=
What is the meaning of the phrase "visual element" in this sentence? The poem is moving, but I am more inspired by the visual element showing a photo of fog set
In this figure, the distance from A to B is 10 units. The distance from B to X is 10 units. What else is true? The distance from A to X is 10 unitsThe distance
What form of Jazz first introduced non conventional instruments
can sombody help me with my spanish
Static electricity _____. requires a closed loop is a stationary type of electricity is created by moving a magnet through a wire coil is created by movin
Please help! I needa pass..
Celeste has a lot going on in her life: she's a volunteer at a community center for children, she works weekends as a receptionist, she babysits her nephews eve
Find the area of the shaded segment and round to the nearest tenth.
What source was instrumental in supporting the constitution during the ratification debate? A. Anti federalist papers. B. Two treaties of government. C. Common