On Fri, 12 Jan 2024 at 08:56, Left Right via Python-list <python-list@python.org> wrote: > > By the way, in an attempt to golf this problem, I discovered this, > which seems like a parser problem:
When you jump immediately to "this is a bug", all you do is make yourself look like an idiot. Unsurprisingly, this is NOT a bug, this is simply that you didn't understand what was going on. The grammar isn't easy to read, and it's usually better to read the documentation instead. (Plus, golfing isn't really a goal in Python, and you didn't shorten the code by much at all. Good job.) ChrisA -- https://mail.python.org/mailman/listinfo/python-list