update module1.ipynb
This commit is contained in:
parent
5097089952
commit
61a0288bca
@ -14,7 +14,8 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"You can follow along in the reading as the instructor discusses the code or review the code after watching the video.\n",
|
"You can follow along in the reading as the instructor discusses the code or review the code after watching the video.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"```\n",
|
"```bash\n",
|
||||||
|
"\n",
|
||||||
"cat rearrange1.py \n",
|
"cat rearrange1.py \n",
|
||||||
"```\n",
|
"```\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -52,7 +53,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"1\n",
|
"1\n",
|
||||||
"\n",
|
"\n",
|
||||||
"```\n",
|
"```bash\n",
|
||||||
"cat rearrange2.py \n",
|
"cat rearrange2.py \n",
|
||||||
"```\n",
|
"```\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -72,7 +73,8 @@
|
|||||||
"\n",
|
"\n",
|
||||||
" return \"{} {}\".format(result\\[2\\], result\\[1\\])\n",
|
" return \"{} {}\".format(result\\[2\\], result\\[1\\])\n",
|
||||||
"\n",
|
"\n",
|
||||||
"```\n",
|
"\n",
|
||||||
|
"```bash\n",
|
||||||
"diff rearrange1.py rearrange2.py \n",
|
"diff rearrange1.py rearrange2.py \n",
|
||||||
"```\n",
|
"```\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -87,7 +89,7 @@
|
|||||||
"\\> result = re.search(r\"^(\\[\\\\w .-\\]\\*), (\\[\\\\w .-\\]\\*)$\", name)\n",
|
"\\> result = re.search(r\"^(\\[\\\\w .-\\]\\*), (\\[\\\\w .-\\]\\*)$\", name)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"```\n",
|
"```bash\n",
|
||||||
"diff validations1.py validations2.py \n",
|
"diff validations1.py validations2.py \n",
|
||||||
"```\n",
|
"```\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -111,7 +113,8 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"\\> if username\\[0\\].isnumeric():\n",
|
"\\> if username\\[0\\].isnumeric():\n",
|
||||||
"\n",
|
"\n",
|
||||||
"```\n",
|
"\n",
|
||||||
|
"```bash\n",
|
||||||
"diff \\-u validations1.py validations2.py \n",
|
"diff \\-u validations1.py validations2.py \n",
|
||||||
"```\n",
|
"```\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user