From 33bdebf49dcc8c585150db301364832dfaa73a3b Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 7 Jul 2018 18:34:25 +0200 Subject: [PATCH] Missing space --- _posts/2018-07-01-ndh16.md | 2 +- assets/code/cesar-python2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2018-07-01-ndh16.md b/_posts/2018-07-01-ndh16.md index ada0ea4..36ecba4 100644 --- a/_posts/2018-07-01-ndh16.md +++ b/_posts/2018-07-01-ndh16.md @@ -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 diff --git a/assets/code/cesar-python2.py b/assets/code/cesar-python2.py index e45a02f..d1550ab 100644 --- a/assets/code/cesar-python2.py +++ b/assets/code/cesar-python2.py @@ -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