code: def env_maker(environment_id):
      
      env = gym.make(environment_id)
      assert 'NoFrameskip' in env.spec.id
  
      # Wait for between 1 and 30 rounds doing nothing on start
      env = NoopResetEnv(env, noop_max=30)
  
      # Do the same action for k steps. Return max of last 2 frames. Return sum of rewards
      env = MaxAndSkipEnv(env, skip=4)
  
      return env
docs: Create a relatively raw atari environment