maddygabbard529 maddygabbard529
  • 01-11-2021
  • Computers and Technology
contestada

Consider the following code: color = input("What color? ") if (color == "green"):   print ("Correct") else:   print ("Nope") elif (color == "red"):   print ("Correct") What happens when it is run?

Respuesta :

severaja1 severaja1
  • 09-11-2021

Answer:

There is an error, the else should be after the elif

Explanation:

Answer Link

Otras preguntas

Abigail and her children went into a movie theater and she bought $71.50 worth of drinks and pretzels. Each drink costs $4 and each pretzel costs $4.75. She bou
Si una escalera de bomberos de 37 metros de longitud,se apoya en la pared de un edificio,poniendo el pie de la escalera a 12 metros del edificio, ¿que altura, e
Which biome is located at the number 3? Savanna B. Sahel C. Sahara Desert D. Rain Forest
simplify 8x - (4x - 3x)
Who is the queen of Rap ✨
Please help fast! I only want correct answers. Random answers will be reported.
Please help!!! Think back to all of the different ways that the United States obtained land across the continent. Based on what you have learned, did Americans
Solve -12 = z ÷ 3 for z.
What is the rule that defines the function represented by the table?
Determine if the given point satisfies either equations and is a solution of the system of inequalities 4y-23x _5x-11 The rest see it on the photo