Guest User

Untitled

a guest
Feb 17th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. Maybe lists are not lazy? A simple test confirms this:
  2.  
  3. >>> a = []
  4. >>> b = []
  5. >>> [a.append(1), b.append(2)][0]
  6. >>> a
  7. [1]
  8. >>> b
  9. [2]
Add Comment
Please, Sign In to add comment