Skip to content

Fix passphrase shifting and per-word casing - #262

Merged
Huerte merged 1 commit into
Huerte:mainfrom
Aaqibhafeezkhan:fix/237-playing-with-passphrases
Nov 15, 2026
Merged

Huerte merged 1 commit into
Huerte:mainfrom
Aaqibhafeezkhan:fix/237-playing-with-passphrases

Conversation

@Aaqibhafeezkhan

Copy link
Copy Markdown
Contributor

Changes

  • Correct alphabet wrapping for uppercase and lowercase letters.
  • Apply position-based shifts to each word.
  • Reset alternating letter casing at the start of each word.
  • Preserve punctuation and whitespace.
  • Remove debug output and update the solution status.

Closes #237

@Huerte
Huerte merged commit b838c7a into Huerte:main Nov 15, 2026
1 check passed

@Aaqibhafeezkhan Aaqibhafeezkhan left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation handles alphabet wrapping for both uppercase and lowercase letters, applies the word-position shift, and resets alternating casing at the start of each word. It also preserves punctuation and whitespace, handles empty input, and removes the debug output.

@Huerte

Huerte commented Nov 15, 2026

Copy link
Copy Markdown
Owner

@Aaqibhafeezkhan Thanks for this contribution of implementing the solution. Appreciated a lot!

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.

Fix and complete the Playing with Passphrases solution (practice221)

2 participants