mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
all valid python 3
This commit is contained in:
@ -4,9 +4,9 @@ import sys, random, cryptomath_module as cryptoMath
|
||||
SYMBOLS = """ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"""
|
||||
|
||||
def main():
|
||||
message = raw_input('Enter message: ')
|
||||
key = int(raw_input('Enter key [2000 - 9000]: '))
|
||||
mode = raw_input('Encrypt/Decrypt [E/D]: ')
|
||||
message = input('Enter message: ')
|
||||
key = int(input('Enter key [2000 - 9000]: '))
|
||||
mode = input('Encrypt/Decrypt [E/D]: ')
|
||||
|
||||
if mode.lower().startswith('e'):
|
||||
mode = 'encrypt'
|
||||
|
Reference in New Issue
Block a user