Skip to content

Commit 20bd048

Browse files
committed
add more kattis problems in Ch 02
1 parent a1aa9eb commit 20bd048

File tree

1 file changed

+43
-2
lines changed

1 file changed

+43
-2
lines changed

notebooks/Ch02-1-Data-Variables-StdIO.ipynb

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,13 @@
606606
"print('''\"Oh no\", she exclaimed, \"Ben's bike is broken!\"''')"
607607
]
608608
},
609+
{
610+
"cell_type": "code",
611+
"execution_count": null,
612+
"metadata": {},
613+
"outputs": [],
614+
"source": []
615+
},
609616
{
610617
"cell_type": "code",
611618
"execution_count": 28,
@@ -1144,6 +1151,35 @@
11441151
"print('type of', num, '=', type(num))"
11451152
]
11461153
},
1154+
{
1155+
"cell_type": "code",
1156+
"execution_count": 1,
1157+
"metadata": {},
1158+
"outputs": [],
1159+
"source": [
1160+
"gene1 = 10*\"AGT\""
1161+
]
1162+
},
1163+
{
1164+
"cell_type": "code",
1165+
"execution_count": 2,
1166+
"metadata": {},
1167+
"outputs": [
1168+
{
1169+
"data": {
1170+
"text/plain": [
1171+
"'AGTAGTAGTAGTAGTAGTAGTAGTAGTAGT'"
1172+
]
1173+
},
1174+
"execution_count": 2,
1175+
"metadata": {},
1176+
"output_type": "execute_result"
1177+
}
1178+
],
1179+
"source": [
1180+
"gene1"
1181+
]
1182+
},
11471183
{
11481184
"cell_type": "markdown",
11491185
"metadata": {},
@@ -1244,6 +1280,11 @@
12441280
"\n",
12451281
"## Kattis Problems\n",
12461282
"\n",
1283+
"- Concatenate - https://open.kattis.com/problems/skeytasaman \n",
1284+
"- Class Photo - https://open.kattis.com/problems/classphoto\n",
1285+
"- E-Days Ore Cart Pull - https://open.kattis.com/problems/edays\n",
1286+
"- Parking Pandemonium - https://open.kattis.com/problems/parkingpandemonium\n",
1287+
"- M-Climb - https://open.kattis.com/problems/mclimb \n",
12471288
"- Triangle Area - [https://open.kattis.com/problems/triarea](https://open.kattis.com/problems/triarea)\n",
12481289
"- Two-sum - https://open.kattis.com/problems/twosum\n",
12491290
"- Leggja samman - [https://open.kattis.com/problems/leggjasaman](https://open.kattis.com/problems/leggjasaman) \n",
@@ -1263,7 +1304,7 @@
12631304
],
12641305
"metadata": {
12651306
"kernelspec": {
1266-
"display_name": "Python 3 (ipykernel)",
1307+
"display_name": "Python 3",
12671308
"language": "python",
12681309
"name": "python3"
12691310
},
@@ -1277,7 +1318,7 @@
12771318
"name": "python",
12781319
"nbconvert_exporter": "python",
12791320
"pygments_lexer": "ipython3",
1280-
"version": "3.10.8"
1321+
"version": "3.9.6"
12811322
}
12821323
},
12831324
"nbformat": 4,

0 commit comments

Comments
 (0)