def last(iterable):
    """
    Get the last item in the iterable.
    Warning, this can be slow due to iter step by step to last one.
    """
    item = None
    for item in iterable:
        pass
    return item
