Skip to content

Commit d8273f5

Browse files
committed
#adding worksheet in turkish lang
1 parent ff6b7f3 commit d8273f5

File tree

1 file changed

+354
-0
lines changed

1 file changed

+354
-0
lines changed

worksheet-turkish/ders1.ipynb

+354
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,354 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 3,
6+
"metadata": {},
7+
"outputs": [],
8+
"source": [
9+
"hudayi = {\"isim\": \"ibrah\", \"kilo\": 87}"
10+
]
11+
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 4,
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"data": {
19+
"text/plain": [
20+
"'ibrah'"
21+
]
22+
},
23+
"execution_count": 4,
24+
"metadata": {},
25+
"output_type": "execute_result"
26+
}
27+
],
28+
"source": [
29+
"hudayi[\"isim\"]"
30+
]
31+
},
32+
{
33+
"cell_type": "code",
34+
"execution_count": 8,
35+
"metadata": {},
36+
"outputs": [],
37+
"source": [
38+
"myCar = {\"marka\": \"Tesla\", \"renk\": \"kirmizi\", \"tipi\": \"elektrikli\"}"
39+
]
40+
},
41+
{
42+
"cell_type": "code",
43+
"execution_count": 10,
44+
"metadata": {},
45+
"outputs": [],
46+
"source": [
47+
"myTesla = [0, 100, 200, 300, 400]"
48+
]
49+
},
50+
{
51+
"cell_type": "code",
52+
"execution_count": 9,
53+
"metadata": {},
54+
"outputs": [
55+
{
56+
"data": {
57+
"text/plain": [
58+
"'Tesla'"
59+
]
60+
},
61+
"execution_count": 9,
62+
"metadata": {},
63+
"output_type": "execute_result"
64+
}
65+
],
66+
"source": [
67+
"myCar[\"marka\"]"
68+
]
69+
},
70+
{
71+
"cell_type": "code",
72+
"execution_count": 12,
73+
"metadata": {},
74+
"outputs": [
75+
{
76+
"data": {
77+
"text/plain": [
78+
"100"
79+
]
80+
},
81+
"execution_count": 12,
82+
"metadata": {},
83+
"output_type": "execute_result"
84+
}
85+
],
86+
"source": [
87+
"myTesla[3] - myTesla[2]"
88+
]
89+
},
90+
{
91+
"cell_type": "code",
92+
"execution_count": 14,
93+
"metadata": {},
94+
"outputs": [
95+
{
96+
"data": {
97+
"text/plain": [
98+
"[300]"
99+
]
100+
},
101+
"execution_count": 14,
102+
"metadata": {},
103+
"output_type": "execute_result"
104+
}
105+
],
106+
"source": [
107+
"myTesla[3:2:-1]"
108+
]
109+
},
110+
{
111+
"cell_type": "code",
112+
"execution_count": 15,
113+
"metadata": {},
114+
"outputs": [],
115+
"source": [
116+
"ahmet = True"
117+
]
118+
},
119+
{
120+
"cell_type": "code",
121+
"execution_count": 16,
122+
"metadata": {},
123+
"outputs": [
124+
{
125+
"data": {
126+
"text/plain": [
127+
"True"
128+
]
129+
},
130+
"execution_count": 16,
131+
"metadata": {},
132+
"output_type": "execute_result"
133+
}
134+
],
135+
"source": [
136+
"bool(ahmet)"
137+
]
138+
},
139+
{
140+
"cell_type": "code",
141+
"execution_count": 17,
142+
"metadata": {},
143+
"outputs": [],
144+
"source": [
145+
"ahmet = -10.25"
146+
]
147+
},
148+
{
149+
"cell_type": "code",
150+
"execution_count": 18,
151+
"metadata": {},
152+
"outputs": [
153+
{
154+
"data": {
155+
"text/plain": [
156+
"True"
157+
]
158+
},
159+
"execution_count": 18,
160+
"metadata": {},
161+
"output_type": "execute_result"
162+
}
163+
],
164+
"source": [
165+
"bool(ahmet)"
166+
]
167+
},
168+
{
169+
"cell_type": "code",
170+
"execution_count": 19,
171+
"metadata": {},
172+
"outputs": [
173+
{
174+
"data": {
175+
"text/plain": [
176+
"False"
177+
]
178+
},
179+
"execution_count": 19,
180+
"metadata": {},
181+
"output_type": "execute_result"
182+
}
183+
],
184+
"source": [
185+
"True and False"
186+
]
187+
},
188+
{
189+
"cell_type": "code",
190+
"execution_count": 20,
191+
"metadata": {},
192+
"outputs": [
193+
{
194+
"data": {
195+
"text/plain": [
196+
"True"
197+
]
198+
},
199+
"execution_count": 20,
200+
"metadata": {},
201+
"output_type": "execute_result"
202+
}
203+
],
204+
"source": [
205+
"True or False"
206+
]
207+
},
208+
{
209+
"cell_type": "code",
210+
"execution_count": 21,
211+
"metadata": {},
212+
"outputs": [
213+
{
214+
"data": {
215+
"text/plain": [
216+
"True"
217+
]
218+
},
219+
"execution_count": 21,
220+
"metadata": {},
221+
"output_type": "execute_result"
222+
}
223+
],
224+
"source": [
225+
"True and True"
226+
]
227+
},
228+
{
229+
"cell_type": "code",
230+
"execution_count": 22,
231+
"metadata": {},
232+
"outputs": [
233+
{
234+
"data": {
235+
"text/plain": [
236+
"False"
237+
]
238+
},
239+
"execution_count": 22,
240+
"metadata": {},
241+
"output_type": "execute_result"
242+
}
243+
],
244+
"source": [
245+
"False and False"
246+
]
247+
},
248+
{
249+
"cell_type": "code",
250+
"execution_count": 23,
251+
"metadata": {},
252+
"outputs": [
253+
{
254+
"data": {
255+
"text/plain": [
256+
"False"
257+
]
258+
},
259+
"execution_count": 23,
260+
"metadata": {},
261+
"output_type": "execute_result"
262+
}
263+
],
264+
"source": [
265+
"False or False"
266+
]
267+
},
268+
{
269+
"cell_type": "code",
270+
"execution_count": 24,
271+
"metadata": {},
272+
"outputs": [
273+
{
274+
"data": {
275+
"text/plain": [
276+
"False"
277+
]
278+
},
279+
"execution_count": 24,
280+
"metadata": {},
281+
"output_type": "execute_result"
282+
}
283+
],
284+
"source": [
285+
"True and False"
286+
]
287+
},
288+
{
289+
"cell_type": "code",
290+
"execution_count": 42,
291+
"metadata": {},
292+
"outputs": [],
293+
"source": [
294+
"a = int(input(\"Bir sayi giriniz: \"))"
295+
]
296+
},
297+
{
298+
"cell_type": "code",
299+
"execution_count": 43,
300+
"metadata": {},
301+
"outputs": [],
302+
"source": [
303+
"b = int(input(\"ikinci sayi giriniz: \"))"
304+
]
305+
},
306+
{
307+
"cell_type": "code",
308+
"execution_count": 44,
309+
"metadata": {},
310+
"outputs": [],
311+
"source": [
312+
"toplam = a + b"
313+
]
314+
},
315+
{
316+
"cell_type": "code",
317+
"execution_count": 45,
318+
"metadata": {},
319+
"outputs": [
320+
{
321+
"name": "stdout",
322+
"output_type": "stream",
323+
"text": [
324+
"9\n"
325+
]
326+
}
327+
],
328+
"source": [
329+
"print(toplam)"
330+
]
331+
}
332+
],
333+
"metadata": {
334+
"kernelspec": {
335+
"display_name": "Python 3",
336+
"language": "python",
337+
"name": "python3"
338+
},
339+
"language_info": {
340+
"codemirror_mode": {
341+
"name": "ipython",
342+
"version": 3
343+
},
344+
"file_extension": ".py",
345+
"mimetype": "text/x-python",
346+
"name": "python",
347+
"nbconvert_exporter": "python",
348+
"pygments_lexer": "ipython3",
349+
"version": "3.12.4"
350+
}
351+
},
352+
"nbformat": 4,
353+
"nbformat_minor": 2
354+
}

0 commit comments

Comments
 (0)