mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
Fix DeprecationWarning: invalid escape sequence (#679)
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
This commit is contained in:

committed by
Libin Yang

parent
6128533319
commit
3dc50529ca
@ -6,7 +6,7 @@ BYTE_SIZE = 256
|
||||
|
||||
def main():
|
||||
filename = 'encrypted_file.txt'
|
||||
response = input('Encrypte\Decrypt [e\d]: ')
|
||||
response = input(r'Encrypte\Decrypt [e\d]: ')
|
||||
|
||||
if response.lower().startswith('e'):
|
||||
mode = 'encrypt'
|
||||
|
Reference in New Issue
Block a user