diff options
| author | 2021-05-09 17:43:33 -0300 | |
|---|---|---|
| committer | 2021-05-09 17:43:33 -0300 | |
| commit | 8b0eb4aa07fbc9c20f7748888d0db00f2264b774 (patch) | |
| tree | 2de8123dc090d644fad90b1b16907246dd12a0f5 | |
| parent | use binary formatting instead of `bin()` in function (diff) | |
delete `bin()`s
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/evergreen/trivia_quiz.py | 6 | 
1 files 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 | 
