2 ms·
This is an excellent question with a generally fun answer, at least in python 2. https://kate.io/blog/2017/08/22/weird-python-integers/ https://kate.io/blog/20
by knome 7y ago
This is an excellent question with a generally fun answer, at least in python 2.
https://kate.io/blog/2017/08/22/weird-python-integers/ https://kate.io/blog/2017/08/22/weird-python-integers/
http://hforsten.com/redefining-the-number-2-in-python.html http://hforsten.com/redefining-the-number-2-in-python.html
I found these offhand, but I'm pretty sure I saw this trick earlier than 2017.