1 #!/usr/bin/env python 2 3 l = [(x, y) for x in range(0, 6) if x % 2 == 0 for y in range(0, 6) if y % 3 == 0] 4 5 result2 = l[3][0] 6 result3 = l[3][1] 7 result5 = l[3][0] + l[3][1] 8 9 # vim: tabstop=4 expandtab shiftwidth=4