Python Quiz

pythhon-quzi-ci

What is this quiz about?

This is a simple 15 questions about python to check your knowledge inspired by "Who Wants to be a Millionaire". This quiz contains questions about python history, some basic functions and some advanced questions. You can change your answer ones, but if you answer wrong the game is over.

The deployed app can be found Here

How to play?

You need to answer 15 questions using A, B, C or D. After every answer. You must lock the answer in case you change your mind. You can change your answer, and you will be asked to input a new answer. Please note you can only change your answer once.

Overview

The challenge was to build a command line (terminal) app or game using python only. And deploy it to Heroku. No liberties are used in this project.

Features

Introduction and greeting to the user

Screenshot

Listing questions one by one so the user can focus only on one question and options for that question \

Screehshot

Giving user option to change answer
Screenshot

Testing

I manually tested the application using the following actions:

Passed the code in a code validator Raised errors for invalid inputs and looped the input until a valid input was entered I tested it using my local terminal and the Code Institute Heroku terminal

Bugs

Solved bugs

User input validation (User was able to skip typing the answer, but it would fail on checking answer) My question and options were too long. I used line breaks to fix this.

bugs

solved bugs

Unsolved bugs

No remaining bugs

Depolyment

This project has been deployed on Heroku using the Code Institute mock terminal

Depoylent steps

  1. Create a free Heroku account
  2. Create a new app
  3. Set up Config Vars
  4. Choose deployment method as GitHub
  5. Connect Heroku with GitHub
  6. Prepare repository for deployment
  7. Push repository
  8. Enable automatic deploys

Acknowledgements

I want to thank my mentor Antonija Simic. She is amazing, and she helped me a lot with this project.I had a lot of problems with if and else statements, but she jumped into it and gave me great advice on how to sort those problems out.

This project was created for educational purposes only.