<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_next_item(iterable):
 """Gets the next item of an iterable. If the iterable is exhausted, returns None."""

    try: x = iterable.next()
    except StopIteration: x = None
    except AttributeError: x = None
    return x