Feature: Show the correct answer when the user gets it wrong

Open Beginner friendly
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python
Domain
cli

Research direction

Open src/quiz.py and find the branch that handles an incorrect answer and prints "❌ Wrong!". Update the incorrect-answer output to include the correct answer, then verify it matches the desired behavior shown in the issue.

Written by the indexing model from the issue text.

Description

enhancement

When you answer a question incorrectly, the quiz just says "❌ Wrong!" but does not tell you what the correct answer was. It would be more helpful to show the correct answer so the user can learn from their mistake.

Current behavior:

Your answer: C
❌ Wrong!

Desired behavior:

Your answer: C
❌ Wrong! The correct answer was A) Model Context Protocol

The change should be in src/quiz.py.

Dominant language
Python
Stars
43
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pamelafox/github-copilot-mcp-tutorial

All issues in pamelafox/github-copilot-mcp-tutorial

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.