Skip to content

Commit cbcdee4

Browse files
committed
Fixed minor errors
1 parent 219ccf9 commit cbcdee4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ciphers/caesar_cipher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ def encrypt(input_string: str, key: int, alphabet: str | None = None) -> str:
7070
>>> encrypt('a lowercase alphabet', 5, 'abcdefghijklmnopqrstuvwxyz')
7171
'f qtbjwhfxj fqumfgjy'
7272
"""
73-
# Use the provided alphabet if given, otherwise default to ascii_letters (a-z + A-Z)
73+
# Use the provided alphabet if given,
74+
# otherwise default to ascii_letters (a-z + A-Z)
7475
alpha = alphabet or ascii_letters
7576

7677
# Create a shifted version of the alphabet by the key.

0 commit comments

Comments
 (0)