PROJECT3
Completed
Project 3: Quiz Tournament from CSV Project 3: Quiz Tournament from CSV

Combine modules, CSV reading, dictionaries, random selection, loops, functions, and text-file appending in a multi-file quiz project.

Project 3: Quiz Tournament from CSV

Sounds useful?

Jump into the interactive version.

No setup. No account. Just Python.

Interactive Python lesson

Project 3: Quiz Tournament from CSV

Build your first multi-file Beginner Python project. You will load quiz questions from a read-only CSV file, keep reusable logic in a custom module, ask every question once in a random order, calculate a score, and append the result to a plain text log.

What you will practice:

  • Organize a program across main.py and a reusable module
  • Read rows as dictionaries with csv.DictReader
  • Shuffle question order with random.shuffle()
  • Use a loop to ask every shuffled question exactly once
  • Normalize answers and calculate a score with an accumulator
  • Append stable result lines to a UTF-8 text file

The project stays within the course scope: CSV is input, the result log is ordinary text, and the supplied data can be treated as present and valid.

> Start now 8 cards · about 3 min

Ready to practice this in the browser?

> Play now