Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLeoni committed Oct 10, 2019
1 parent c3c1643 commit c1057ec
Show file tree
Hide file tree
Showing 7 changed files with 146 additions and 151 deletions.
150 changes: 75 additions & 75 deletions exams/2019-07-02/exam-2019-07-02-solution.ipynb

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions exercises/control-flow/control-flow-solution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -363,21 +363,6 @@
" print('third quadrant') "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"x = \n",
"\n",
"if x >= 0:\n",
" if not y < 100 or not y < 0 :\n",
" print('which ones ?')\n",
" if y < 200:\n",
" print()"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
78 changes: 39 additions & 39 deletions exercises/lists/lists-solution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"A's ID: 140649847797320\n"
"A's ID: 140023584607560\n"
]
}
],
Expand Down Expand Up @@ -409,7 +409,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"A's ID: 140649847797320\n"
"A's ID: 140023584607560\n"
]
}
],
Expand Down Expand Up @@ -638,7 +638,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"A has id: 140649847863240\n"
"A has id: 140023585018824\n"
]
}
],
Expand Down Expand Up @@ -682,7 +682,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"A has id: 140649847863240\n"
"A has id: 140023585018824\n"
]
}
],
Expand Down Expand Up @@ -726,7 +726,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"A has id: 140649847863240\n"
"A has id: 140023585018824\n"
]
}
],
Expand Down Expand Up @@ -763,7 +763,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"A has now id: 140649847264136\n"
"A has now id: 140023357072648\n"
]
}
],
Expand Down Expand Up @@ -1864,9 +1864,9 @@
"output_type": "stream",
"text": [
"\n",
"A's id: 140649848186184\n",
"B's id: 140649848186184\n",
"C's id: 140649847246280\n"
"A's id: 140023366009672\n",
"B's id: 140023366009672\n",
"C's id: 140023357471112\n"
]
}
],
Expand Down Expand Up @@ -3808,7 +3808,7 @@
},
{
"cell_type": "code",
"execution_count": 150,
"execution_count": 130,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -3921,7 +3921,7 @@
},
{
"cell_type": "code",
"execution_count": 130,
"execution_count": 131,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -3958,7 +3958,7 @@
},
{
"cell_type": "code",
"execution_count": 131,
"execution_count": 132,
"metadata": {},
"outputs": [
{
Expand All @@ -3967,7 +3967,7 @@
"0"
]
},
"execution_count": 131,
"execution_count": 132,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -3978,7 +3978,7 @@
},
{
"cell_type": "code",
"execution_count": 132,
"execution_count": 133,
"metadata": {},
"outputs": [
{
Expand All @@ -3987,7 +3987,7 @@
"1"
]
},
"execution_count": 132,
"execution_count": 133,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -3998,7 +3998,7 @@
},
{
"cell_type": "code",
"execution_count": 133,
"execution_count": 134,
"metadata": {},
"outputs": [
{
Expand All @@ -4007,7 +4007,7 @@
"2"
]
},
"execution_count": 133,
"execution_count": 134,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -4018,7 +4018,7 @@
},
{
"cell_type": "code",
"execution_count": 134,
"execution_count": 135,
"metadata": {},
"outputs": [
{
Expand All @@ -4027,7 +4027,7 @@
"0"
]
},
"execution_count": 134,
"execution_count": 135,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -4038,7 +4038,7 @@
},
{
"cell_type": "code",
"execution_count": 135,
"execution_count": 136,
"metadata": {},
"outputs": [
{
Expand All @@ -4047,7 +4047,7 @@
"1"
]
},
"execution_count": 135,
"execution_count": 136,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -4058,7 +4058,7 @@
},
{
"cell_type": "code",
"execution_count": 136,
"execution_count": 137,
"metadata": {},
"outputs": [
{
Expand All @@ -4067,7 +4067,7 @@
"2"
]
},
"execution_count": 136,
"execution_count": 137,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -4078,7 +4078,7 @@
},
{
"cell_type": "code",
"execution_count": 137,
"execution_count": 138,
"metadata": {},
"outputs": [
{
Expand All @@ -4087,7 +4087,7 @@
"0"
]
},
"execution_count": 137,
"execution_count": 138,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -4105,7 +4105,7 @@
},
{
"cell_type": "code",
"execution_count": 138,
"execution_count": 139,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -4173,7 +4173,7 @@
},
{
"cell_type": "code",
"execution_count": 139,
"execution_count": 140,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -4238,7 +4238,7 @@
},
{
"cell_type": "code",
"execution_count": 140,
"execution_count": 141,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -4266,7 +4266,7 @@
},
{
"cell_type": "code",
"execution_count": 141,
"execution_count": 142,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -4302,7 +4302,7 @@
},
{
"cell_type": "code",
"execution_count": 142,
"execution_count": 143,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -4357,7 +4357,7 @@
},
{
"cell_type": "code",
"execution_count": 143,
"execution_count": 144,
"metadata": {},
"outputs": [
{
Expand All @@ -4366,7 +4366,7 @@
"4"
]
},
"execution_count": 143,
"execution_count": 144,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -4384,7 +4384,7 @@
},
{
"cell_type": "code",
"execution_count": 144,
"execution_count": 145,
"metadata": {},
"outputs": [
{
Expand All @@ -4393,7 +4393,7 @@
"57"
]
},
"execution_count": 144,
"execution_count": 145,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -4416,7 +4416,7 @@
},
{
"cell_type": "code",
"execution_count": 145,
"execution_count": 146,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -4504,7 +4504,7 @@
},
{
"cell_type": "code",
"execution_count": 146,
"execution_count": 147,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -4621,7 +4621,7 @@
},
{
"cell_type": "code",
"execution_count": 147,
"execution_count": 148,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -4679,7 +4679,7 @@
},
{
"cell_type": "code",
"execution_count": 148,
"execution_count": 149,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -4826,7 +4826,7 @@
},
{
"cell_type": "code",
"execution_count": 149,
"execution_count": 150,
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit c1057ec

Please sign in to comment.