question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding Python quiz questions

See original GitHub issue

developerquiz.org currently has over 600 quiz questions. We are looking to expand on the Python questions and we encourage other developers to add their quiz questions to the site.

Please note: we are only focusing on general Python questions instead of library and framework specific questions.

You can find the complete list of questions below. https://github.com/freeCodeCamp/Developer_Quiz_Site/blob/main/src/data/python-quiz.ts

You can add your own questions to the top of that file. Please first check to make sure your question doesn’t already exist in the file before creating a PR.

Here is an example format for the questions.

  {
    Question:
      "In Python, which method can be used to replace parts of a string?",
    Answer: "replace()",
    Distractor1: "switch()",
    Distractor2: "repl()",
    Distractor3: "find()",
    Explanation:
      "If you need to search through a string for a pattern, and replace it with another pattern, you can use the replace() method.",
    Link: "https://www.freecodecamp.org/news/python-string-methods-tutorial-how-to-use-find-and-replace-on-python-strings/",
  },

For the link field, please make sure to use a freeCodeCamp article, freeCodeCamp YouTube video or official documentation. If you choose to reference a video, please make sure to include the timestamp for the topic covered.

You can read more about how to create timestamps in this helpful article.

This issue will not be assigned to anyone and will remain open for multiple contributors. Please do not assign yourself to this issue or close it.

Happy contributing!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jdwilkin4commented, Jan 26, 2022
0reactions
jdwilkin4commented, Oct 14, 2022

For anyone interested in contributing, please read through the contributing documentation first.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build a Quiz Application With Python
You'll start by creating a basic Python quiz application that's only capable of asking a question, collecting an answer, and checking whether ...
Read more >
How to Make an Interactive Quiz Game in Python - MakeUseOf
At the top of the Python file, add a class to store information about a quiz question. · Underneath the class, add an...
Read more >
How to build a Quiz Game in Python - DEV Community ‍ ‍
Our quiz game will be asking questions to the player to which player has to reply with the right answer. Each question will...
Read more >
Building A Quiz | Python - Mike Dane
This tutorial covers building a quiz in Python.
Read more >
Basic Python Quiz For Beginners - PYnative
This Quiz is for beginners who are new to Python Programming. This quiz provides Multiple Choice Questions to get familiar with Python.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found