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

Describe a situation that could be modeled with the ratio 4:1
a middle school scored three field goals worth three points each and two touchdowns worth six points, where each touchdown also had an additional score of two p
7,000 is ten times as much as what number?
There are 21 students  in Mr.Tentlers  class The students divided themselves evenly  into 3 groups.how many  students  are in each  groups?
write the name given to a large area of sea or ocean that is partially enclosed and is larger than a bay
What is 35.2 written in word form?
Find the slope of the line described by each equation: 8x+2y=96
During a magazine review, you scan magazine images and articles to..
how do I round off 248,739 to the nearest hundred?
9 hundred thousands equal how many tens