<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def print_config(_run):
 """ Print the updated configuration and exit. Text is highlighted: green: value modified blue: value added red: value modified but type changed """

    final_config = _run.config
    config_mods = _run.config_modifications
    print(_format_config(final_config, config_mods))