Hacker News new | ask | show | jobs
by mapleoin 4261 days ago
That is very non-idiomatic python. Use True and False instead of 1 and 0 when comparing the (boolean) result of a comparison.