Computer scienceData scienceInstrumentsGymnasium

Introduction to Gymnasium

Theory

Actions and observations

Report a typo

You have the following starter code:

import gymnasium as gym

env = gym.make('MountainCar-v0')

print(f"Observation space: {...}")
print(f"Action space: {...}")

Substitute the ...with the correct code to print out the observation and the action spaces in the provided environment.

What is the output of the code above?

Select one or more options from the list
___

Create a free account to access the full topic