Skip to content

Python code snippet – openai gym How render to work?

import gym
env = gym.make('CartPole-v0')
env.reset()
env.render()
See also  Python code snippet - How to find where is located?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.