Skip to content

Commit 602ca89

Browse files
committed
Fix notebook 2: /p -> /div
1 parent 41d89f7 commit 602ca89

1 file changed

Lines changed: 7 additions & 25 deletions

File tree

‎week2/2_Conditions_part2.ipynb‎

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,9 @@
4343
},
4444
{
4545
"cell_type": "code",
46-
"execution_count": 12,
47-
"metadata": {},
48-
"outputs": [
49-
{
50-
"name": "stdout",
51-
"output_type": "stream",
52-
"text": [
53-
"How many shoes do you have in your drawer? 5\n",
54-
"You have odd number of shoes. Something is wrong!\n"
55-
]
56-
}
57-
],
46+
"execution_count": null,
47+
"metadata": {},
48+
"outputs": [],
5849
"source": [
5950
"shoes_in_my_drawer = int(input(\"How many shoes do you have in your drawer? \"))\n",
6051
"\n",
@@ -345,18 +336,9 @@
345336
},
346337
{
347338
"cell_type": "code",
348-
"execution_count": 9,
349-
"metadata": {},
350-
"outputs": [
351-
{
352-
"name": "stdout",
353-
"output_type": "stream",
354-
"text": [
355-
"How many copies you sold? 5\n",
356-
"You album is not a best-seller\n"
357-
]
358-
}
359-
],
339+
"execution_count": null,
340+
"metadata": {},
341+
"outputs": [],
360342
"source": [
361343
"copies_sold = int(input(\"How many copies you sold? \"))\n",
362344
"\n",
@@ -434,7 +416,7 @@
434416
"cell_type": "markdown",
435417
"metadata": {},
436418
"source": [
437-
"### <div style=\"text-align: right; direction: rtl; float: right; clear: both;\">מה קורה כאן?</p>\n",
419+
"### <div style=\"text-align: right; direction: rtl; float: right; clear: both;\">מה קורה כאן?</div>\n",
438420
"<p style=\"text-align: right; direction: rtl; float: right; clear: both;\">\n",
439421
" הטריק הוא שבשורה בה כתוב <code>elif</code>, פייתון ינסה לבדוק את התנאי <em>רק אם</em> התנאים שלפניו לא התקיימו.<br>\n",
440422
" במילים אחרות – הערכים של הביטויים הבוליאניים בתנאים שלפניו היו <code>False</code>.<br>\n",

0 commit comments

Comments
 (0)