def f(x): if x: return 1 else: return 0 print f(1), f(0)