Why is the program giving a key error?
So it's this quiz again. I changed it so it uses the split function to extract the list from the string instead of putting a list in the db, that just doesn't work, though it may be the same problem as this...
So this code should, and has in the past (with different db keys).
So I use this code:
results =  clear() for question in questions: hi = db[question].split(",") print(hi) results.append(input(""+hi+"\nor\n"+""+hi+"?\n>"))
(questions = db.keys() is in the program's top.)
With this code it just gives a key error for NO REASON AT ALL!
So... How can I get this to work?
@EpicGamer007 run the program to get the error, and it's stuff like
key: windows or mac
data:windows or mac,windows,mac