• @aliser
      link
      11 hour ago
      return Math.random() > 0.5
      

      would also be correct about half the time

    • @[email protected]
      link
      fedilink
      156 hours ago
      assert IsEven(2) == True
      assert IsEven(4) == True
      assert IsEven(6) == True
      

      All checks pass. LGTM