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

In 1885 Alexander graham bell helped set up a company to build
Why does Eteocles receive an honorable burial?
Which of these was the basic idea of the New Deal?
What is the first step in the research process? a. narrowing the topic b. gathering information c. identifying the topic d. asking a specific question
What is the median of 98, 93, 89, 89, 76
The _____ tube brings a mature ovum to the uterus. fallopian ovarian Cowper
what is epazote used for
If a pea plant's genotype is Tt, what is its phenotype
"Yonder sky has wept tears of compassion" is an example of A. assonance. B. alliteration. C. consonance. D. personification.
By 1975, South Vietnam, Laos, and Cambodia had fallen to the communists. True or False?