Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var = ((1, "foo"), (2, "bar"), (3, "potato"))
- def del_item(int i):
- # search item with (x == i, *)
- # remove this item
- def del_item(String s):
- # search item with (*, x == s)
- # remove this item
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement