Advertisement
rfmonk

itertools_chain.py

Jan 15th, 2014
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3.  
  4. from itertools import *
  5.  
  6. for i in chain([1, 2, 3], ['a', 'b', 'c']):
  7.     print i,
  8. print
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement