<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ipshuffle(l, random=None):
 r"""Shuffle list `l` inplace and return it."""

    import random as _random
    _random.shuffle(l, random)
    return l