<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_env_info(key, out=sys.stderr):
 """If given environment key is defined, print it out."""

    value = os.getenv(key)
    if value is not None:
        print(key, "=", repr(value), file=out)