Skip to content

Commit afde5f3

Browse files
committed
Create Untitled1.ipynb
1 parent 8f59525 commit afde5f3

File tree

1 file changed

+395
-0
lines changed

1 file changed

+395
-0
lines changed

Untitled1.ipynb

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

0 commit comments

Comments
 (0)