Skip to content

Instantly share code, notes, and snippets.

@jacobh
Created September 24, 2013 05:44
Show Gist options
  • Save jacobh/6680799 to your computer and use it in GitHub Desktop.
Save jacobh/6680799 to your computer and use it in GitHub Desktop.
In [1]: a = [1,2,3]
In [2]: b = a
In [3]: b
Out[3]: [1, 2, 3]
In [4]: b.append(4)
In [5]: a
Out[5]: [1, 2, 3, 4]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment