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 clear a command line ?

Leave a Reply

Your email address will not be published.

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