input: 
  def create_python_execution_environment(class_name: str, execution_path: str) -> Environment:
      """Create an instance of the Environment class that can execute and analyze Python code. The environment includes predefined global variables and functions, and allows for additional global variables to be added. It also includes a stdout object to capture and display output from executed code.
      >>> create_python_execution_environment('MyEnvironment', '/path/to/execution')
      <Environment instance at 0x...>
      """
  
output:     class Environment:
          def __init__(self, class_name: str, execution_path: str):
              self.class_name = class_name
              self.execution_path = execution_path
              self.globals = {
                  '__builtins__': __builtins__,
                  'print': self.custom_print
              }
              self.stdout = []
  
          def custom_print(self, *args, **kwargs):
              self.stdout.append(' '.join(map(str, args)))
  
          def add_global_variable(self, name: str, value):
              self.globals[name] = value
  
          def execute_code(self, code: str):
              exec(code, self.globals)
  
      return Environment(class_name, execution_path)