Hacker News new | ask | show | jobs
by matt_daemon 523 days ago
Or even:

    def is_even(n):
        return str(n)[-1] in "02468"