Update caesar_cipher.py

This commit is contained in:
Harshil 2018-10-24 21:13:42 +02:00 committed by GitHub
parent 471b3110d6
commit 2638d57c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ def main():
elif choice == '2':
strng = input("Please enter the string to be decrypted: ")
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:
print(decrypt(strng, key))
main()