News for hackers. Stuff that matters.
Re:Ask HN: If n is prime than n is uneven by bjourne on Sunday December 26, 2021 @12:29PM (#29694337)
Yes, barely. :) Implications work as the following code:

    def f(n):
        if is_prime(n):
            return not is_even(n)
        else:
            return True
What is the value of f(6)? True is returned in the else-clause because this is an example of a vacuous truth. https://en.wikipedia.org/wiki/Vacuous_truth

There are no comments on this comment yet.