Skip to content

Commit

Permalink
adding decrypt_message_one.py
Browse files Browse the repository at this point in the history
  • Loading branch information
haa19018 committed Jan 28, 2024
1 parent 4d3450d commit b72ee2b
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions decrypt_message_one.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
cipher = {
'a':'v',
'b':'h',
'c':'r',
'd':'j',
'e':'t',
'f':'x',
'g':'s',
'h':'a',
'i':'e',
'j':'f',
'k':'b',
'l':'n',
'm':'o',
'n':'i',
'o':'g',
'p':'l',
'q':'m',
'r':'z',
's':'q',
't':'u',
'u':'c',
'v':'k',
'w':'d',
'x':'p',
'y':'y',
'z':'w',
' ': '}',
'\n': '^',
',': '5',
'!': '[',
':':'-',
')':'*',
'.': '%'
}

encrypted_file = open("encrypted_message_one.txt", 'r')

encrypted_message = encrypted_file.readline()

encrypted_file.close()

# Write code below

0 comments on commit b72ee2b

Please sign in to comment.