<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read_settings(widget, value_name):
 """Read Settings information, either from INI or from default values. Parameters widget : str name of the widget value_name : str name of the value of interest. Returns ------- multiple types type depends on the type in the default values. """

    setting_name = widget + '/' + value_name
    default_value = DEFAULTS[widget][value_name]

    default_type = type(default_value)
    if default_type is list:
        default_type = type(default_value[0])

    val = settings.value(setting_name, default_value, type=default_type)
    return val