Skip to content

Instantly share code, notes, and snippets.

@k0001
Created May 6, 2009 05:58
Show Gist options
  • Save k0001/107377 to your computer and use it in GitHub Desktop.
Save k0001/107377 to your computer and use it in GitHub Desktop.
>>> bla = (i for i in 'hello!')
>>> for x in bla:
... print x
... _ = next(bla)
...
h
l
o
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment