Skip to content

Commit

Permalink
testing, sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLeoni committed Sep 21, 2018
1 parent c8d3424 commit 4ef4c7a
Show file tree
Hide file tree
Showing 78 changed files with 13,246 additions and 1,625 deletions.
18 changes: 9 additions & 9 deletions commandments.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The Supreme Committee for the Doctrine of Coding has emanated wise rules for you to follow. \n",
"The Supreme Committee for the Doctrine of Coding has ruled important Commandments you shall follow. \n",
"\n",
"If you do follow, you shall become a true Python Jedi."
"If you accept their wise words, you shall become a true Python Jedi."
]
},
{
Expand All @@ -23,7 +23,7 @@
"source": [
"<div class=\"alert alert-warning\">\n",
"\n",
"**WARNING**: If you do not follow, you shall fail miserably\n",
"**WARNING**: if you won't follow the Commandments, bad things shall happen.\n",
"</div>\n"
]
},
Expand All @@ -33,7 +33,7 @@
"source": [
"\n",
"<div class=\"alert alert-info\" >\n",
"**COMMANDMENT 1**: You shall test!\n",
"**COMMANDMENT 1: You shall test!**\n",
"</div>\n",
"\n",
"To run tests, enter the following command in the terminal:\n",
Expand Down Expand Up @@ -67,7 +67,7 @@
"\n",
"<div class=\"alert alert-info\" >\n",
"\n",
"**COMMANDMENT 2:** You shall also write on paper!\n",
"**COMMANDMENT 2: You shall also write on paper!**\n",
"</div>\n",
"\n",
"If staring at the monitor doesn't work, help yourself and draw a representation of the state sof the program. \n",
Expand All @@ -76,7 +76,7 @@
"<br/>\n",
"<div class=\"alert alert-info\" >\n",
"\n",
"**COMMANDMENT 3:** You shall copy *exactly the same* function definitions as in the exercises!\n",
"**COMMANDMENT 3: You shall copy *exactly the same* function definitions as in the exercises!**\n",
"</div>\n",
"\n",
"For example don't write :\n",
Expand All @@ -92,7 +92,7 @@
"source": [
"<div class=\"alert alert-info\" >\n",
"\n",
"**COMMANDMENT 4:** You shall never ever reassign function parameters:\n",
"**COMMANDMENT 4: You shall never ever reassign function parameters**\n",
"</div>\n",
"\n",
"```python\n",
Expand Down Expand Up @@ -149,7 +149,7 @@
"\n",
"<div class=\"alert alert-info\" >\n",
"\n",
"**COMMANDMENT 6:** You shall never ever assign values to method calls:\n",
"**COMMANDMENT 6: You shall never ever assign values to method calls**\n",
"</div>\n",
"\n",
"_WRONG WRONG STUFF:_\n",
Expand Down Expand Up @@ -184,7 +184,7 @@
"source": [
"<div class=\"alert alert-info\" >\n",
"\n",
"**COMMANDMENT 7:** You shall use `return` command only if you see written _return_ in the function description!\n",
"**COMMANDMENT 7: You shall use `return` command only if you see written _return_ in the function description!**\n",
"</div>\n",
"\n",
"If there is no `return` in function description, the function is intended to return `None`. In this case you don't even need to write `return None`, as Python will do it implicitly for you."
Expand Down
14 changes: 0 additions & 14 deletions exercises/README.md

This file was deleted.

0 comments on commit 4ef4c7a

Please sign in to comment.