Thanks to visit codestin.com
Credit goes to github.com

Skip to content

some typos in agents file #1008

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2019
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