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

Which of the following is not a reason why india has a larger male population than female population ?
break even A large hardware store’s monthly profit from the sale of PVC pipe can be described by the equation P(x)= 6.45x- 9675 dollars, where x is the number o
What is 4(x=1) over 8=3x-2?
Which of these is an example of a domestic policy
Process of taking metal and making goods and useful items, such as horseshoe and tools
a psychiatrist is a medical specialist who can prescribe drugs. question 24 options: true false
Why did most scientists reject Wegner's theory for nearly a half century?
Explain how the bar model was used
write the words that have the long i sound spelled y, i-consonant-e, ow, or o
Which element is not balanced in this equation? Mg0+2 LiCL--->MgCl2+Li20 A. CL B. All elements are balanced C. Mg D. Li