Skip to content

Instantly share code, notes, and snippets.

@keeb-zz
Created March 13, 2011 02:17
Show Gist options
  • Save keeb-zz/867806 to your computer and use it in GitHub Desktop.
Save keeb-zz/867806 to your computer and use it in GitHub Desktop.
extending a tree
>>> a = ['a', 'b', 'c']
>>> a.extend(['d', 'e', 'f'])
>>> a
['a', 'b', 'c', 'd', 'e', 'f']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment