Python Program: QuizBrain

By carriekaler Mar18,2024

100 Days of Code: The Complete Python Pro Boot Camp – Day 17Project

Created a quiz with OOP (Object Oriented Programming).

Walked through creating a quiz with a file for storing questions data, to hold question attributes, to hold attributes and methods for the quiz itself, and for the main code to execute.

Used Open Trivia Database to get question data from a generated API.

  1. Choose ‘Open in Replit’
  2. Select ‘Run’ to play/replay the game.
  3. Enter answers into the console where you see the tiny square at the end of sentences.