From af1085ade199cb84aaea30a0a552e97fe298c410 Mon Sep 17 00:00:00 2001 From: Colton-Bryce Date: Thu, 30 Mar 2017 19:08:12 -0500 Subject: [PATCH] Update print statements Updating the print statements so it's compatible with Python 3+. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f81ae87..6e0f580 100644 --- a/main.py +++ b/main.py @@ -13,8 +13,8 @@ def printRegs(self): def printMemory(self, rows, cols): for row in range(rows): for col in range(cols): - print "%X" % self.memory[row * cols + col], - print + print("%X" % self.memory[row * cols + col],) + print() def c_3ff(self): self.printRegs()