Nice work! The copy method of os.environ makes a new copy of the dictionary containing the environment variables, making modification easier.