Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a5e07 commit be8543fCopy full SHA for be8543f
agents.py
@@ -325,7 +325,7 @@ def delete_thing(self, thing):
325
class Direction():
326
'''A direction class for agents that want to move in a 2D plane
327
Usage:
328
- d = Direction("Down")
+ d = Direction("down")
329
To change directions:
330
d = d + "right" or d = d + Direction.R #Both do the same thing
331
Note that the argument to __add__ must be a string and not a Direction object.
0 commit comments