<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def variable(self, name: str, default_value=None):
 """ Safely returns the value of the variable given in PUM Parameters name the name of the variable default_value the default value for the variable if it does not exist """

        return self.__variables.get(name, default_value)