Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. var = ((1, "foo"), (2, "bar"), (3, "potato"))
  2.  
  3. def del_item(int i):
  4. # search item with (x == i, *)
  5. # remove this item
  6.  
  7. def del_item(String s):
  8. # search item with (*, x == s)
  9. # remove this item
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement