Skip to content

Commit 8cc9ea8

Browse files
Add files via upload
0 parents  commit 8cc9ea8

18 files changed

+18922
-0
lines changed

01- Class 02 (Basic).ipynb

Lines changed: 329 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,329 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "6f89e753-ca17-4448-84d3-430ee76480ac",
6+
"metadata": {},
7+
"source": [
8+
"###### Session 2"
9+
]
10+
},
11+
{
12+
"cell_type": "code",
13+
"execution_count": 2,
14+
"id": "de1a5e0f-abef-4cc2-b67b-9e755ba053a7",
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"name": "stdout",
19+
"output_type": "stream",
20+
"text": [
21+
"Hello World\n"
22+
]
23+
}
24+
],
25+
"source": [
26+
"# Hehe\n",
27+
"print (\"Hello World\")"
28+
]
29+
},
30+
{
31+
"cell_type": "markdown",
32+
"id": "7eee774a-2fe8-46c1-9e5e-f5d31b26840a",
33+
"metadata": {},
34+
"source": [
35+
"# Hehe\n",
36+
"print (\"Hello World\")"
37+
]
38+
},
39+
{
40+
"cell_type": "code",
41+
"execution_count": 5,
42+
"id": "06b73784-9250-4c68-9968-d896e7d60a6d",
43+
"metadata": {},
44+
"outputs": [
45+
{
46+
"data": {
47+
"text/plain": [
48+
"str"
49+
]
50+
},
51+
"execution_count": 5,
52+
"metadata": {},
53+
"output_type": "execute_result"
54+
}
55+
],
56+
"source": [
57+
"type(\"hello world\")"
58+
]
59+
},
60+
{
61+
"cell_type": "code",
62+
"execution_count": 7,
63+
"id": "e0342761-eb03-4f7a-b23e-962e706d33e5",
64+
"metadata": {},
65+
"outputs": [
66+
{
67+
"name": "stdout",
68+
"output_type": "stream",
69+
"text": [
70+
"<class 'str'>\n"
71+
]
72+
}
73+
],
74+
"source": [
75+
"print(type(\"hello world\"))"
76+
]
77+
},
78+
{
79+
"cell_type": "code",
80+
"execution_count": 6,
81+
"id": "c79e5c3d-df51-45a9-8377-530844562626",
82+
"metadata": {},
83+
"outputs": [
84+
{
85+
"name": "stdout",
86+
"output_type": "stream",
87+
"text": [
88+
"123\n"
89+
]
90+
}
91+
],
92+
"source": [
93+
"print(123)"
94+
]
95+
},
96+
{
97+
"cell_type": "markdown",
98+
"id": "88e249cd-9239-4cc0-839f-0c000a24f52d",
99+
"metadata": {},
100+
"source": [
101+
"print(123)"
102+
]
103+
},
104+
{
105+
"cell_type": "code",
106+
"execution_count": 28,
107+
"id": "11362a5a-5a92-4d3f-a981-0dc0f3b8b62e",
108+
"metadata": {},
109+
"outputs": [
110+
{
111+
"data": {
112+
"text/plain": [
113+
"str"
114+
]
115+
},
116+
"execution_count": 28,
117+
"metadata": {},
118+
"output_type": "execute_result"
119+
}
120+
],
121+
"source": [
122+
"type(\"123\")"
123+
]
124+
},
125+
{
126+
"cell_type": "code",
127+
"execution_count": 9,
128+
"id": "0efffac8-8e5f-448b-bc15-d92216373bd7",
129+
"metadata": {},
130+
"outputs": [
131+
{
132+
"name": "stdout",
133+
"output_type": "stream",
134+
"text": [
135+
"<class 'int'>\n"
136+
]
137+
}
138+
],
139+
"source": [
140+
"print(type(123))"
141+
]
142+
},
143+
{
144+
"cell_type": "code",
145+
"execution_count": 10,
146+
"id": "38e1507a-ab18-4abd-b427-57278b016332",
147+
"metadata": {},
148+
"outputs": [
149+
{
150+
"data": {
151+
"text/plain": [
152+
"float"
153+
]
154+
},
155+
"execution_count": 10,
156+
"metadata": {},
157+
"output_type": "execute_result"
158+
}
159+
],
160+
"source": [
161+
"type(123.9\n",
162+
")"
163+
]
164+
},
165+
{
166+
"cell_type": "code",
167+
"execution_count": 25,
168+
"id": "06e286ca-72da-401a-b123-d7e0895bfeda",
169+
"metadata": {},
170+
"outputs": [
171+
{
172+
"name": "stdout",
173+
"output_type": "stream",
174+
"text": [
175+
"My name is Moiz, 22\n",
176+
"Years old\n"
177+
]
178+
}
179+
],
180+
"source": [
181+
"print(\"\"\"My name is Moiz, 22\n",
182+
"Years old\"\"\")"
183+
]
184+
},
185+
{
186+
"cell_type": "code",
187+
"execution_count": 24,
188+
"id": "09eee02d-d74c-49f0-8b50-00b3b7b18314",
189+
"metadata": {},
190+
"outputs": [
191+
{
192+
"name": "stdout",
193+
"output_type": "stream",
194+
"text": [
195+
"My name is Moiz, 22\n",
196+
"Years old\n"
197+
]
198+
},
199+
{
200+
"data": {
201+
"text/plain": [
202+
"NoneType"
203+
]
204+
},
205+
"execution_count": 24,
206+
"metadata": {},
207+
"output_type": "execute_result"
208+
}
209+
],
210+
"source": [
211+
"type(print(\"\"\"My name is Moiz, 22\n",
212+
"Years old\"\"\"\n",
213+
" ))"
214+
]
215+
},
216+
{
217+
"cell_type": "code",
218+
"execution_count": 15,
219+
"id": "eb26d593-d473-472d-8623-37a1799d187b",
220+
"metadata": {},
221+
"outputs": [
222+
{
223+
"data": {
224+
"text/plain": [
225+
"int"
226+
]
227+
},
228+
"execution_count": 15,
229+
"metadata": {},
230+
"output_type": "execute_result"
231+
}
232+
],
233+
"source": [
234+
"type(22\n",
235+
")"
236+
]
237+
},
238+
{
239+
"cell_type": "code",
240+
"execution_count": 20,
241+
"id": "0dd7155d-8afc-4b2c-b2dc-ced74ad4f5e7",
242+
"metadata": {},
243+
"outputs": [
244+
{
245+
"data": {
246+
"text/plain": [
247+
"'We are learning here on 2,Dec/24\\nhope to stay motivated throughout'"
248+
]
249+
},
250+
"execution_count": 20,
251+
"metadata": {},
252+
"output_type": "execute_result"
253+
}
254+
],
255+
"source": [
256+
"\"\"\"We are learning here on 2,Dec/24\n",
257+
"hope to stay motivated throughout\"\"\""
258+
]
259+
},
260+
{
261+
"cell_type": "code",
262+
"execution_count": 23,
263+
"id": "1e7d4aec-cb3f-4a38-bbf5-bcc480078d86",
264+
"metadata": {},
265+
"outputs": [
266+
{
267+
"name": "stdout",
268+
"output_type": "stream",
269+
"text": [
270+
"We are learning here on 2,Dec/24\n",
271+
"hope to stay motivated throughout\n"
272+
]
273+
}
274+
],
275+
"source": [
276+
"print(\"\"\"We are learning here on 2,Dec/24\n",
277+
"hope to stay motivated throughout\"\"\")"
278+
]
279+
},
280+
{
281+
"cell_type": "code",
282+
"execution_count": 6,
283+
"id": "f088ca96-4bb9-4efe-9718-fe6802caa629",
284+
"metadata": {},
285+
"outputs": [
286+
{
287+
"name": "stdout",
288+
"output_type": "stream",
289+
"text": [
290+
"We are learning here on 2,Dec/24 hope to stay motivated throughout\n"
291+
]
292+
}
293+
],
294+
"source": [
295+
"print(\"\"\"We are learning here on 2,Dec/24 \\\n",
296+
"hope to stay motivated throughout\"\"\")"
297+
]
298+
},
299+
{
300+
"cell_type": "code",
301+
"execution_count": null,
302+
"id": "3e719b3a-c807-43b6-9374-975d5f1810de",
303+
"metadata": {},
304+
"outputs": [],
305+
"source": []
306+
}
307+
],
308+
"metadata": {
309+
"kernelspec": {
310+
"display_name": "Python 3 (ipykernel)",
311+
"language": "python",
312+
"name": "python3"
313+
},
314+
"language_info": {
315+
"codemirror_mode": {
316+
"name": "ipython",
317+
"version": 3
318+
},
319+
"file_extension": ".py",
320+
"mimetype": "text/x-python",
321+
"name": "python",
322+
"nbconvert_exporter": "python",
323+
"pygments_lexer": "ipython3",
324+
"version": "3.12.7"
325+
}
326+
},
327+
"nbformat": 4,
328+
"nbformat_minor": 5
329+
}

0 commit comments

Comments
 (0)