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

use the formula S = 40,000 (1.06)t to calculate your salary after 4 years. Round your answer to the nearest dollar. a. $42,400 b. $44,944 c. $47,641 d. $50,499
what is 3 squared (a) if a = 107
Read the sentence carefully and choose the option that answers the question Manuel delega las responsabilidades a los voluntarios en el hogar de ancianos. Which
name 2 archaeological sites in Kenya?​
Which data set could be represented by the box plot shown below?
PLEASE HELP!! Don't need explanation The Kellen school district gives awards to its schools based on overall student attendance. The data for attendance are sho
The net of a right rectangular prism is shown below: Find the surface area of the prism with the given net (in square inches).
Characteristics of Living Things 7. The basic unit of organization of living things is a(n) A. atom B. organism C. cell D. organ 8. Storing energy obtained from
Match the followings with each others. 1. Unicameral Legislature 2. The Constitution 3. Articles of Confederation 4. Federal judiciary established a. represe
Why are G proteins known as guanine nucleotide-binding protein?