Have you tried changing the filter_by part to filter_by(quizCode=1).all() ? Changing the string to an integer,
as well as adding the all function? From my experience leaving out the all part results in the raw SQL query
instead of the actual list. What does printing out selectedQuiz return? What does printing quiz return?
I can join the lab zoom or haolin#2060 if you want to screenshare.
Why does changing one input break this code segment? (all 5)