Just been going through the quiz questions to recap python knowledge. One question in the python loops quiz makes no sense to me whatsoever. Please advise on the following question.
Fill in the blanks to produce
yellow in the console.
value = "none" colors = ["violet", "blue", "green", "yellow"] for item in colors: value = item print(value)
How does yellow get printed from value which has “none” assigned?