Skip to content

Commit c69a2c7

Browse files
committed
Change Agent.py back to Python 2 version
1 parent ecda916 commit c69a2c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def Process(self, percept):
1616
valid_action = False
1717
while not valid_action:
1818
valid_action = True
19-
c = input("Action? ") # Python 3 (use raw_input for Python 2)
19+
c = raw_input("Action? ") # Python 2 (replace raw_input with input for Python 3)
2020
if c == 'f':
2121
action = Action.GOFORWARD
2222
elif c == 'l':

0 commit comments

Comments
 (0)