Guest User

Untitled

a guest
Jan 21st, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. # the difference of two tuples in python
  2. x = (1,2,3)
  3. y = (2,3,4)
  4. z = tuple([a - b for a,b in zip(x,y)])
Add Comment
Please, Sign In to add comment