<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def param (self, param, kwargs, default_value=False):
 """gets a param from kwargs, or uses a default_value. if found, it's removed from kwargs"""

        if param in kwargs:
            value= kwargs[param]
            del kwargs[param]
        else:
            value= default_value
        setattr (self, param, value)