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

Starfish, flatworms, and sponges may be cut into pieces, and the individual parts will grow new individual animals by means of the process of _____. fragmentati
Which element has an atom in the ground state with a total of three valence electrons? (1) aluminum (3) phosphorus (2) lithium (4) scandium
During the early 1930s, the main goal of the Bonus Army was to pressure the Hoover administration to (1) strengthen the nation’s defenses (2) end the military d
compare and contrast how wind and glaciers abrade rock
The Ming Dynasty was followed by the _____ Dynasty.
At the Constitutional Convention of 1787, the Great Compromise between the large states and the small states resulted in (1) the creation of a bicameral legisla
One reason for the mass migration of many Irish to North America in the 19th century was (1) a series of crop failures (2) enforcement of a military draft (3) c
Is the series diary of a wimpy kid realistic fiction?
Which describes all of the scientists in this unit? A. curious B. talkative C. pessimistic D. wealthy
Which of the following devices imparts ownership in a corporation? A. Bond B. Savings account C. U.S. Treasury Bill D. Stock