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

convert to a scientific notation  860,000,000,000 =
is 8/5 rational or irrational?
Simplify and show your work -8 + 4i / 4 - 4i
By tradition, when does the presidential campaign begin?
What is 70,030,000 in scientific notation
16 increased by twice a number is -24
arrange following numbers in increasing order 2.3,45.1,18.735,0.9862,7
What is 70,030,000 in scientific notation
Can some one help me ??? Anyone ?
Can someone tell me the answer for 18-7÷0