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

Find three consecutive even integers whose sum is 200 more than the smallest integer.
If f (n)(0) = (n + 1)! for n = 0, 1, 2, , find the taylor series at a=0 for f.
Define the term morality. explain the various elements of the definition
What is another name for sweet potatoes that means you talk to much
Contrast the atmosphere with the biosphere
whats the difference between system and ecosystem
An illness that interferes with a person's ability to accurately receive a message is an example of ________ noise.
A square poster has sides measuring 2 feet less than the sides of a square sign. If the difference between their areas is 32 square feet. Find the lengths of
State 4 attainable outcomes that you will like to achieve in bullying
translate the sentence: Twice x is 5 to an equation