Skip to content

Commit 1081d37

Browse files
committed
Tuple Config
1 parent 22e650a commit 1081d37

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Tuples.ipynb

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,28 @@
220220
"del thistuple"
221221
]
222222
},
223+
{
224+
"cell_type": "code",
225+
"execution_count": 17,
226+
"metadata": {},
227+
"outputs": [
228+
{
229+
"name": "stdout",
230+
"output_type": "stream",
231+
"text": [
232+
"('a', 'b', 'c', 1, 2, 3)\n"
233+
]
234+
}
235+
],
236+
"source": [
237+
"tuple1 = (\"a\", \"b\" , \"c\")\n",
238+
"tuple2 = (1, 2, 3)\n",
239+
"l=list(tuple2)\n",
240+
"tuple3 = tuple1 + tuple2\n",
241+
"print(tuple3)\n",
242+
"print(l)"
243+
]
244+
},
223245
{
224246
"cell_type": "code",
225247
"execution_count": null,

0 commit comments

Comments
 (0)