New submission from Hadi Alqattan <alqattanhadiz...@gmail.com>:
What are your opinions about adding a binary operator to Python in order to make this code possible? ``` my_counter = 0 for i in rage(1000): my_counter += 1 if (i % 2) == 0 ``` ---------- components: Interpreter Core messages: 377976 nosy: hadialqattan priority: normal severity: normal status: open title: Add binary operator! type: enhancement versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41935> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com