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 the song you're crashing but you're no wave who does it represent in the book to kill a mockingbird?
I have 4 factors. Three of them 1,2 and 10. What is my fourth factor?
how did japans location both separate it from and tie it to china andn korea
can someone describe the process of meiosis?
At the Constitutional Convention in Philadelphia, Madison drafted the plan presented by Virginia Governor Randolph, and William Patterson of _______ presented a
The radio transmitter and aerial radio antenna was an innovation of A. Guglielmo Marconi B. Thomas Edison C. Alexander Graham Bell D. Jean Lenoir E. Gustav
Ava is 23 cm taller than olivia, and olivia is half the height of Lucas. if Lucas is 1.78 m tall, how tall are Ava and olivia? express their heights in centimet
a supplier sells 2 1/4 lbs mulch for every 1 1/3 lbs gravel. the supplier sells 172 pounds of them combined. how many pounds of each does the supplier sell
The _____ is the layer of tissue that forms during gastrulation and becomes the animal's organs. a. ectoderm b. mesoderm c. endoderm
Describe how cells are organized into larger and larger groups to help living things survive