openai gym render code example Example: openai gym how render to work import gym env = gym.make('CartPole-v0') env.reset() env.render()