We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecda916 commit c69a2c7Copy full SHA for c69a2c7
1 file changed
Agent.py
@@ -16,7 +16,7 @@ def Process(self, percept):
16
valid_action = False
17
while not valid_action:
18
valid_action = True
19
- c = input("Action? ") # Python 3 (use raw_input for Python 2)
+ c = raw_input("Action? ") # Python 2 (replace raw_input with input for Python 3)
20
if c == 'f':
21
action = Action.GOFORWARD
22
elif c == 'l':
0 commit comments