Missing space

This commit is contained in:
Quentin 2018-07-07 18:34:25 +02:00
parent 16c1011d2a
commit 33bdebf49d
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ with open('communication_vBZvcbm.txt', 'rb') as f:
all_bytes = all_bytes[0] + all_bytes[1]
for n in range(1,128):
print("\033c")
print("==== try number " + str(n) + "==== \n\n")
print("==== try number " + str(n) + " ==== \n\n")
dec = [0] * len(all_bytes)
for i in range(len(all_bytes)):
dec[i] = (all_bytes[i] + n) % 128

View file

@ -3,7 +3,7 @@ with open('communication_vBZvcbm.txt', 'rb') as f:
all_bytes = all_bytes[0] + all_bytes[1]
for n in range(1,128):
print "\033c"
print "==== try number " + str(n) + "==== \n\n"
print "==== try number " + str(n) + " ==== \n\n"
dec = [0] * len(all_bytes)
for i in range(len(all_bytes)):
dec[i] = (ord(all_bytes[i]) + n) % 128