News for hackers. Stuff that matters.
Re:Automated Python 2 to 3 code translation by anc84 on Thursday August 17, 2017 @09:25AM (#15036527)
What about it?
Re:Automated Python 2 to 3 code translation by 4c2383f5c88e911 on Thursday August 17, 2017 @09:46AM (#15036696)
"test" < 1 is a TypeError in python3, and it works in python2 (returns False), it is part of the pitfalls of porting code to python 3.
Re:Automated Python 2 to 3 code translation by PerryCox on Thursday August 17, 2017 @09:28AM (#15036545)
If you enter the code above into the website it responds with:

maybe the code is wrong?

Re:Automated Python 2 to 3 code translation by anc84 on Thursday August 17, 2017 @09:33AM (#15036588)
It does not do that for me, the Python 3 version appears with no changes.