From c805f6c71b64bdccad6a3be764f7b60598c76793 Mon Sep 17 00:00:00 2001 From: informaniac Date: Tue, 2 Jan 2018 21:13:16 +0100 Subject: [PATCH] fixed string formatting arguments --- games/balancep0ng.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/balancep0ng.py b/games/balancep0ng.py index 106e3ec..0f874fa 100755 --- a/games/balancep0ng.py +++ b/games/balancep0ng.py @@ -107,7 +107,7 @@ class BalanceBoardPlayer(object): bal += MAX_AMPLITUDE pos = int((bal / (2 * MAX_AMPLITUDE)) * self.__playground.height) - print("player %d pos=%d" % self.__balance_util.player_id, pos) + print("player %d pos=%d" % (self.__balance_util.player_id, pos)) if self.__ownPaddle.ypos > pos: self.__ownPaddle.nextMoveUp()