Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions agents.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"\n",
"class Park(Environment):\n",
" def percept(self, agent):\n",
" '''prints & return a list of things that are in our agent's location'''\n",
" '''return a list of things that are in our agent's location'''\n",
" things = self.list_things_at(agent.location)\n",
" return things\n",
" \n",
Expand Down Expand Up @@ -307,7 +307,7 @@
"source": [
"class Park2D(XYEnvironment):\n",
" def percept(self, agent):\n",
" '''prints & return a list of things that are in our agent's location'''\n",
" '''return a list of things that are in our agent's location'''\n",
" things = self.list_things_at(agent.location)\n",
" return things\n",
" \n",
Expand Down Expand Up @@ -536,7 +536,7 @@
"source": [
"class Park2D(XYEnvironment):\n",
" def percept(self, agent):\n",
" '''prints & return a list of things that are in our agent's location'''\n",
" '''return a list of things that are in our agent's location'''\n",
" things = self.list_things_at(agent.location)\n",
" return things\n",
" \n",
Expand Down Expand Up @@ -649,7 +649,7 @@
"source": [
"class GraphicPark(GraphicEnvironment):\n",
" def percept(self, agent):\n",
" '''prints & return a list of things that are in our agent's location'''\n",
" '''return a list of things that are in our agent's location'''\n",
" things = self.list_things_at(agent.location)\n",
" return things\n",
" \n",
Expand Down Expand Up @@ -1441,7 +1441,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.6.7"
}
},
"nbformat": 4,
Expand Down