Git Product home page Git Product logo

pythonlearning's Introduction

Welcome to Python Learning!

In this repo you'll find the final projcet of my Learn Python in 30 Days online course. The final project is a Python Learning App, read through how it works below. Don't hesitate to reach out with any questions!

Final Project - Python Learning App

The app's purpose is to quiz que user with Python questions, determine if the user gets them right or wrong and finally calcualte and save the final score. Here's how the app should work.

  1. When running main.py, the script reads through the topics.json, questions.json, and past_scores.json files and prints the welcome page below to the user:

image

  1. The user then inputs a number referencing the topic to get quizzed. Let's say the user inputs "2", this would take take them to the quiz on Lists and start prompting the questions on that topic.

image

Whenever the user enters an invalid input, they are prompted over and over until they enter a valid question or enter "q" to quit.

image

When they get the right answer, the program prints a message to the user saying they got it right.

image

Whenever the user enters the wrong answer, the app lets them know as well.

image

  1. Once the user finishes answering all questions on that topic (which is maxed out to 10 questions per run), the app prints the final score for that run and saves the score into past_scores.json.

image

pythonlearning's People

Contributors

tognete avatar joeputz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.