From 8b0eb4aa07fbc9c20f7748888d0db00f2264b774 Mon Sep 17 00:00:00 2001 From: Objectivitix <79152594+Objectivitix@users.noreply.github.com> Date: Sun, 9 May 2021 17:43:33 -0300 Subject: delete `bin()`s --- bot/exts/evergreen/trivia_quiz.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py index 7a498ebd..03aadd19 100644 --- a/bot/exts/evergreen/trivia_quiz.py +++ b/bot/exts/evergreen/trivia_quiz.py @@ -131,12 +131,12 @@ def binary_calc(q_format: str, a_format: str) -> Tuple[str, str]: b -= 5 question = q_format.format( - bin(a)[2:], + a, oper[0], - bin(b)[2:], + b, ) answer = a_format.format( - bin(oper[1](a, b))[2:] + oper[1](a, b) ) return question, answer -- cgit v1.2.3