daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for x1 in (0,1):
  2.   for x2 in (0,1):
  3.     a11=(x1+x2)>0.5
  4.     a12=(-x1-x2)>-1.5
  5.     a21 = (a11+a12)>1.5
  6.     print(x1,' xor ',x2,' = ',a21)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top