Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def undo(l):
- undolist = l[1]
- if not undolist:
- print("There are no packages!")
- l_total = undolist[-1]
- undolist = undolist[:-1]
- l[0] = l_total
- l[1] = undolist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement