print_environment.py 158 Bytes
from __future__ import print_function
import os

def execute():
    for name in ['FOO', 'BAR']:
        print(name, '=', os.environ.get(name, '[undefined]'))