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

Skip to content

Commit 27221a6

Browse files
thesagarsehgalantmarakis
authored andcommitted
some typos in agents file (aimacode#1008)
1 parent a5c54d0 commit 27221a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

agents.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"\n",
9999
"class Park(Environment):\n",
100100
" def percept(self, agent):\n",
101-
" '''prints & return a list of things that are in our agent's location'''\n",
101+
" '''return a list of things that are in our agent's location'''\n",
102102
" things = self.list_things_at(agent.location)\n",
103103
" return things\n",
104104
" \n",
@@ -307,7 +307,7 @@
307307
"source": [
308308
"class Park2D(XYEnvironment):\n",
309309
" def percept(self, agent):\n",
310-
" '''prints & return a list of things that are in our agent's location'''\n",
310+
" '''return a list of things that are in our agent's location'''\n",
311311
" things = self.list_things_at(agent.location)\n",
312312
" return things\n",
313313
" \n",
@@ -536,7 +536,7 @@
536536
"source": [
537537
"class Park2D(XYEnvironment):\n",
538538
" def percept(self, agent):\n",
539-
" '''prints & return a list of things that are in our agent's location'''\n",
539+
" '''return a list of things that are in our agent's location'''\n",
540540
" things = self.list_things_at(agent.location)\n",
541541
" return things\n",
542542
" \n",
@@ -649,7 +649,7 @@
649649
"source": [
650650
"class GraphicPark(GraphicEnvironment):\n",
651651
" def percept(self, agent):\n",
652-
" '''prints & return a list of things that are in our agent's location'''\n",
652+
" '''return a list of things that are in our agent's location'''\n",
653653
" things = self.list_things_at(agent.location)\n",
654654
" return things\n",
655655
" \n",
@@ -1441,7 +1441,7 @@
14411441
"name": "python",
14421442
"nbconvert_exporter": "python",
14431443
"pygments_lexer": "ipython3",
1444-
"version": "3.6.5"
1444+
"version": "3.6.7"
14451445
}
14461446
},
14471447
"nbformat": 4,

0 commit comments

Comments
 (0)