Refactor some really bad code

This commit is contained in:
lucky-vers 2023-11-14 02:55:27 +05:30
parent 9c4778dce3
commit 72bedd992e

View file

@ -140,10 +140,7 @@ import string
x = [350, 63, 353, 198, 114, 369, 346, 184, 202, 322, 94, 235, 114, 110, 185, 188, 225, 212, 366, 374, 261, 213] # Contents of `message.txt` converted to an array
keys = []
for i in string.ascii_uppercase + string.digits + '_':
keys.append(i)
keys = [i for i in string.ascii_uppercase + string.digits + '_']
for i in x:
print(keys[i % 37])