News for hackers. Stuff that matters.
Re:WTFPython – Understanding Python through surprising snippets by beagle3 on Monday December 23, 2019 @05:10AM (#21862636)
The real WTF here is that you are getting a power output from thee ^ operator, when it actually does xor. Indeed, I've never seen JavaScript mix up operators :)

/s

Re:WTFPython – Understanding Python through surprising snippets by jakear on Monday December 23, 2019 @05:11AM (#21862642)
HN isn’t able to render two adjacent asterisk, so I had to make do.
Re:WTFPython – Understanding Python through surprising snippets by klyrs on Monday December 23, 2019 @12:23PM (#21865174)
If they're surrounded by spaces it goes ok...

    x ** y