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

what is the volume of an area? what is a polynomial?
How close to North Korea is Inchon?
differentiate benzene and cyclohexane
write 540 as a product of prime numbers
ray wants the larger of two aquariums.One aquarium has 20 in. by 20 in. and has a height of 18 inches.The other aquarium has a base that is 40 in. by 12in. and
need help with this question#20
Which religion has a cultural landmark the dome of the rock
|-6|+|3| I really don't get it do I simply find the sum our is it something different plz explain
How do you say" leave me alone" in Spanish
27 devided by 1053 in decimal form like 528.6