diff --git a/gymnasium/envs/box2d/bipedal_walker.py b/gymnasium/envs/box2d/bipedal_walker.py index eaa274cd4..b4f69bab5 100644 --- a/gymnasium/envs/box2d/bipedal_walker.py +++ b/gymnasium/envs/box2d/bipedal_walker.py @@ -142,7 +142,7 @@ class BipedalWalker(gym.Env, EzPickle): if the walker exceeds the right end of the terrain length. ## Arguments - To use to the _hardcore_ environment, you need to specify the + To use the _hardcore_ environment, you need to specify the `hardcore=True` argument like below: ```python import gymnasium as gym diff --git a/gymnasium/envs/box2d/lunar_lander.py b/gymnasium/envs/box2d/lunar_lander.py index 87f90b57a..545861bbb 100644 --- a/gymnasium/envs/box2d/lunar_lander.py +++ b/gymnasium/envs/box2d/lunar_lander.py @@ -145,7 +145,7 @@ class LunarLander(gym.Env, EzPickle): > them is destroyed. ## Arguments - To use to the _continuous_ environment, you need to specify the + To use the _continuous_ environment, you need to specify the `continuous=True` argument like below: ```python import gymnasium as gym