commit c7e4aa6fd45805915349168ddeddc87970f4190f
parent 48d78d8dc7abce6cada1a93d25d3462da68bc780
Author: therealFIGBERT <figbertwelner@gmail.com>
Date: Mon, 14 Oct 2019 21:01:01 -0700
Swapping %s for %d in second_flag.py
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/second_flag.py b/second_flag.py
@@ -17,7 +17,7 @@ for i in range(0,50):
#Arrive at the second number and unpack it
num_two = struct.unpack("I", conn.recv(4))[0]
num_sum = num_one + num_two
- print("Equation %s: %s + %s = %s"%(i+1, num_one, num_two, num_sum))
+ print("Equation %d: %d + %d = %d"%(i+1, num_one, num_two, num_sum))
#Convert the added numbers and send them back
num_sum = struct.pack("I", num_sum)
conn.send(num_sum)