Skip to content

Commit

Permalink
Fixed agent example
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim0x60 committed Oct 3, 2023
1 parent adfc37e commit ec2a2f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

mountain_car_solver = """
while True:
obs = eval(input())
position, velocity = obs
position = eval(input())
velocity = eval(input())
if abs(velocity) < 0.01:
print(-0.5 - position)
else:
Expand Down

0 comments on commit ec2a2f1

Please sign in to comment.