Skip to content

Commit 53debda

Browse files
ParthPawar10poyea
authored andcommitted
Correct typo from 'two large' to 'too large'
Fix typo in documentation regarding shift size.
1 parent 8fa4161 commit 53debda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ciphers/caesar_cipher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def encrypt(input_string: str, key: int, alphabet: str | None = None) -> str:
4545
And our shift is ``2``
4646
4747
We can then encode the message, one letter at a time. ``H`` would become ``J``,
48-
since ``J`` is two letters away, and so on. If the shift is ever two large, or
48+
since ``J`` is two letters away, and so on. If the shift is ever too large, or
4949
our letter is at the end of the alphabet, we just start at the beginning
5050
(``Z`` would shift to ``a`` then ``b`` and so on).
5151

0 commit comments

Comments
 (0)