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

Gary earned a gross pay of $1,047.30 last week. Using the fact that Social Security tax is 6.2% of gross pay, determine the amount of Social Security tax deduct
The regular nonagon has rotational symmetry of which angle measures? Check all that apply. 40° 45° 120° 240° 260° 320°
Choose the best answer which sentence correctly identifies the adjective phrase? A the discovery , | which was first of its kind in several years |, caused an i
Lena is making two dishes for an event. Each batch of her and cheese recipe calls for 6 ounces of cheese and 2 tablespoons of basil. For every two pizzas she ne
Need help! Thx a lotttt
(0,1)(4,2) find the slope and y-intercept using the point slope formula
Pls help me to answer this.. A ratio of 21/11 is equal to a ratio of ___:1
Write three numbers that are greater than 12,000 but less than 13,000
It was useless to wait any longer the last bus had left. Please rewrite this sentence EXACTLY but place the colon in the right location
Please answer Correctly for brainly