Skip to content

Instantly share code, notes, and snippets.

@kadirmalak
Created December 9, 2018 18:05
Show Gist options
  • Save kadirmalak/6fee8582ce87c2657c8e87c64f27f8c3 to your computer and use it in GitHub Desktop.
Save kadirmalak/6fee8582ce87c2657c8e87c64f27f8c3 to your computer and use it in GitHub Desktop.
for item in ifor(['a', 'b', 'c'], [1, 2], ['asd']):
print(item)
# outputs
# ['a', 1, 'asd']
# ['a', 2, 'asd']
# ['b', 1, 'asd']
# ['b', 2, 'asd']
# ['c', 1, 'asd']
# ['c', 2, 'asd']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment