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

To what extent did the romans borrow from etruscan society in shaping their own?
Choose the polynomial that is written in standard form. A. xy3 + 4x5y + 10x3 B. x4y2 + 4x2y + 8x C. −9x4y2 + 4x3y5 + 10x2 D. x6y3 + 4x4y8 + x2
ATTENTION WORTH 50 POINTS PLEASE ANSWER WITHIN 15 MINUTES AND RECIEVE BRAINLIEST
50 POINTS PLEASE HELP Using the words below: cerdos montar jamones encanta gustan las gallinas caballos granja desayuno fritos Me _______ visitar a mis abue
Which of the following was considered the capital of the Eastern Roman Empire? a. Anatolia b. Constantinople c. Rome d. Macedonia
What actions did the colonists not take to protest the stamp act?
Jackrabbits are capable of reaching speeds up to 40 miles per hour. How fast is this in feet per second? (Round to the nearest whole number.) 5,280 feet = 1 mil
What is the effect of some of the literary devices in the Gettysburg Address excerpt? It uses deductive reasoning about all soldiers. It evokes feeling of honor
What factor led to the explosive growth of digital crime over the past few decades?
the Midwest United States is an example of which type of culture region?