Skip to content

Commit 38383e3

Browse files
ll
1 parent 16dd246 commit 38383e3

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

practice_small_code.ipynb

+29
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,35 @@
155155
}
156156
],
157157
"execution_count": 1
158+
},
159+
{
160+
"metadata": {
161+
"ExecuteTime": {
162+
"end_time": "2024-10-28T13:29:49.491303Z",
163+
"start_time": "2024-10-28T13:29:49.485405Z"
164+
}
165+
},
166+
"cell_type": "code",
167+
"source": [
168+
"st = 'string'\n",
169+
"\n",
170+
"st_l = [i for i in st]\n",
171+
"print(st_l)\n",
172+
"answer = [i for i in st_l if i != 'i']\n",
173+
"print(answer)"
174+
],
175+
"id": "6012818a228328cd",
176+
"outputs": [
177+
{
178+
"name": "stdout",
179+
"output_type": "stream",
180+
"text": [
181+
"['s', 't', 'r', 'i', 'n', 'g']\n",
182+
"['s', 't', 'r', 'n', 'g']\n"
183+
]
184+
}
185+
],
186+
"execution_count": 4
158187
}
159188
],
160189
"metadata": {

0 commit comments

Comments
 (0)