Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- from itertools import *
- values = [(0, 5), (1, 6), (2, 7), (3, 8), (4, 9)]
- for i in starmap(lambda x, y: (x, y, x * y), values):
- print '%d * %d = %d' % i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement