all valid python 3

This commit is contained in:
Alex Brown
2018-10-20 14:45:08 -05:00
parent b566055e4b
commit ea2ddaaf6a
37 changed files with 76 additions and 1436 deletions

View File

@ -2,9 +2,9 @@ from __future__ import print_function
import math
def main():
message = raw_input('Enter message: ')
key = int(raw_input('Enter key [2-%s]: ' % (len(message) - 1)))
mode = raw_input('Encryption/Decryption [e/d]: ')
message = input('Enter message: ')
key = int(input('Enter key [2-%s]: ' % (len(message) - 1)))
mode = input('Encryption/Decryption [e/d]: ')
if mode.lower().startswith('e'):
text = encryptMessage(key, message)