Below is my code
qas = [
["Apple","Red"],
["Banana", "Yellow"],
["Berries","Blue"]
]
answer_choices = {
"a" : "Red",
"b" : "Yellow",
"c" : "Blue"
}
Answers_count = 0
for qa in qas :
print("Choose from")
for k,v in answer_choices.items() :
print("("+k+") "+" "+v)
ans=input("\nWhat color is "+ qa[0]+" : ")
if answer_choices.get(ans) == qa[1] :
print("Correct \n")
Answers_count += 1
else :
print("Wrong \n")
print("You got "+str(Answers_count)+" correct")
Answers are expected to be printed as (a), (b), (c)
Some how order in which answer choice key value pairs printing is changing with the order of keys in qas.
Please suggest