Advertisement
Fhernd

iterar-multiples-colecciones.py

Jun 25th, 2018
1,437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. from itertools import chain
  2.  
  3. ids = [2, 3, 5, 7, 11]
  4. nombres = ['Mishkin', 'Fomma', 'Nesvanova', 'Rodión', 'Fiodor']
  5.  
  6. for x in chain(ids, nombres):
  7.     print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement