Skip to content

Commit 0a1f34e

Browse files
authored
Update Caesar_Cipher.py
1 parent e8dcdc7 commit 0a1f34e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cryptography/Caesar_Cipher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def encrypt(input_string,key_val):
3434
if (encrypt_char > 90):
3535
encrypt_char = 65 - ( 90 - encrypt_char)
3636
encrypt_char = chr(encrypt_char)
37+
encrypt_char = encrypt_char.lower()
3738
final += encrypt_char
3839
return final
3940

0 commit comments

Comments
 (0)