mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-20 13:39:48 +00:00
Update caesar_cipher.py
This commit is contained in:
parent
471b3110d6
commit
2638d57c71
@ -53,7 +53,7 @@ def main():
|
|||||||
elif choice == '2':
|
elif choice == '2':
|
||||||
strng = input("Please enter the string to be decrypted: ")
|
strng = input("Please enter the string to be decrypted: ")
|
||||||
while True:
|
while True:
|
||||||
key = raw_int(input("Please enter off-set between 1-94: "))
|
key = int(input("Please enter off-set between 1-94: "))
|
||||||
if key > 0 and key <= 94:
|
if key > 0 and key <= 94:
|
||||||
print(decrypt(strng, key))
|
print(decrypt(strng, key))
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user