Skip to content

Instantly share code, notes, and snippets.

@arnavk
arnavk / invert.py
Last active October 22, 2018 00:27
import math
def f1(num):
return 1 - num
def f2(num):
return int(num == 0)

Keybase proof

I hereby claim:

  • I am arnavk on github.
  • I am radzinzki (https://keybase.io/radzinzki) on keybase.
  • I have a public key whose fingerprint is 16BB 12A7 163E 7E12 1045 1AEB 0F39 A25E 2BAE A711

To claim this, I am signing this object: