<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove(coll, value):
 """Remove all the occurrences of a given value :param coll: a collection :param value: the value to remove :returns: a list (0, 1, 1, 2, 3, 5) """

    coll_class = coll.__class__
    return coll_class(x for x in coll if x != value)