A quiz has several parts.
To save something with multiple parts, you need to package it up as a dictionary, to keep the different parts by name:
- name of quiz
- list of questions
- list of correct answers for those questions, matched by index against questions
- lists of wrong alternatives for each question, if multiple choice (list of lists).
So you should learn dictionaries.