Guest User

Untitled

a guest
Jun 27th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. import itertools
  2. list(map(print, filter(lambda x: x[0]*4 + x[1]*3 + x[2]*2 == 39 and x[0] + x[1] == x[2], itertools.product(range(0, 20), range(0, 20), range(0, 20)))))
Advertisement
Add Comment
Please, Sign In to add comment