Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. (name, position, emp_id, tasks
  2. for name, position, emp_id in ListA
  3. for position2, tasks in ListB
  4. if position == position2)
  5.  
  6. (name, position, emp_id, tasks
  7. for (name, position, emp_id), (position2, tasks)
  8. in itertools.product(ListA, ListB)
  9. if position == position2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement