Hacker News new | ask | show | jobs
by anc84 3232 days ago
What about it?
2 comments

"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.
If you enter the code above into the website it responds with:

maybe the code is wrong?

It does not do that for me, the Python 3 version appears with no changes.