Undo the last change

history is a list of changes, most recent last. Write undo(history) that removes the most recent change and returns it. If there is nothing to undo, return None and leave the list alone.

undo(["add bread", "add milk"])  ->  "add milk"    (history is now ["add bread"])
undo([])                         ->  None
def undo(history):
    ...