asweigart / asweigart/codebreaker

caesarHacker.py - line 22 - Typo

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
364
Forks
152
PR merge metrics
No merged PRs in 30d

Description

`# handle the wrap-around if num is 26 or larger or less than 0`
Should be:
`# handle the wrap-around if num is less than 0`
When decrypting, the number to wrap-around can only be less than 0 since it is always doing a subtraction to decrypt.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open caesarHacker.py and inspect line 22 in the decryption logic. Update the comment so it describes the less-than-zero wrap-around case, then verify that the wording matches the behavior shown in the surrounding code.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.