Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. x y and
  2. 0 0 0 (returns x)
  3. 0 1 0 (x)
  4. 1 0 1 (y)
  5. 1 1 1 (y)
  6.  
  7. >> lis = [1,2,3,4]
  8. >> 1 and 5 in lis
  9.  
  10. >>> 6 and 1 in lis
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement