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

give any three difference between manure and fertilizers​
Need help with trig problem in pic
You are driving your car in good weather and road conditions. The proper way to ensure that you are following far enough behind other cars is to A: Look at the
In which sector of agriculture would an AgLoan Officer be classifed? A. agribusiness B. animal systems C. natural resources and environmental systems D. power,
A helicopter makes a round trip flight that lasts 4.5 hrs. if the average rate out was 80 miles per hour and the average rate in was 100 miles per hour. what wa
please help wit dis thingz
A metalsmith is mixing two molten metals, each containing different percentages of silver. The table shows the amount of each molten metal used. Which two expre
what statement describes the danger of using heavy metals to control microbe growth? A.heavy metals promote biofilm formation in humans B.heavy metals stimulate
Find x please help thank you A. 33–√ B. 32√2 C. 3 D. 6–√
PLEASE HELP ME I WILL MAKE YOU THE FAMOUSWhich description matches the graph of the inequality y<-1/2x+5 A.a shaded region above a dashed boundary line B.a s