Skip to content

fix : added correct column numbering for wide puzzles in Spot-the-Difference - #1879

Open
tmdeveloper007 wants to merge 1 commit into
steam-bell-92:mainfrom
tmdeveloper007:#1872
Open

fix : added correct column numbering for wide puzzles in Spot-the-Difference#1879
tmdeveloper007 wants to merge 1 commit into
steam-bell-92:mainfrom
tmdeveloper007:#1872

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Summary of What Has Been Done

Fixed the column numbering display in games/Spot-the-Difference/Spot-the-Difference.py. Changed the expression (index % 10) or 0 to (((index - 1) % 10) + 1) on line 55. The original formula produced 0 for column 10, column 20, etc., instead of 10, 20, etc.

Changes Made

  • games/Spot-the-Difference/Spot-the-Difference.py: Line 55 - replaced str((index % 10) or 0) with str((((index - 1) % 10) + 1)) in the column number display

Impact it Made

Puzzles with more than 9 characters now display correct column numbers (1-10, 1-12, etc.) instead of wrapping to 0 at multiples of 10.

Note: Please assign this PR to the tmdeveloper007 account.

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@tmdeveloper007 is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant