File tree Expand file tree Collapse file tree 1 file changed +251
-0
lines changed Expand file tree Collapse file tree 1 file changed +251
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "cells" : [
3+ {
4+ "cell_type" : " code" ,
5+ "execution_count" : 2 ,
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" : 3 ,
23+ "metadata" : {},
24+ "outputs" : [
25+ {
26+ "data" : {
27+ "text/plain" : [
28+ " 2"
29+ ]
30+ },
31+ "execution_count" : 3 ,
32+ "metadata" : {},
33+ "output_type" : " execute_result"
34+ }
35+ ],
36+ "source" : [
37+ " 1+1"
38+ ]
39+ },
40+ {
41+ "cell_type" : " code" ,
42+ "execution_count" : 4 ,
43+ "metadata" : {},
44+ "outputs" : [
45+ {
46+ "data" : {
47+ "text/plain" : [
48+ " 0"
49+ ]
50+ },
51+ "execution_count" : 4 ,
52+ "metadata" : {},
53+ "output_type" : " execute_result"
54+ }
55+ ],
56+ "source" : [
57+ " 1-1"
58+ ]
59+ },
60+ {
61+ "cell_type" : " code" ,
62+ "execution_count" : 6 ,
63+ "metadata" : {},
64+ "outputs" : [
65+ {
66+ "data" : {
67+ "text/plain" : [
68+ " 4.5"
69+ ]
70+ },
71+ "execution_count" : 6 ,
72+ "metadata" : {},
73+ "output_type" : " execute_result"
74+ }
75+ ],
76+ "source" : [
77+ " 9/2"
78+ ]
79+ },
80+ {
81+ "cell_type" : " code" ,
82+ "execution_count" : 7 ,
83+ "metadata" : {},
84+ "outputs" : [
85+ {
86+ "data" : {
87+ "text/plain" : [
88+ " 4"
89+ ]
90+ },
91+ "execution_count" : 7 ,
92+ "metadata" : {},
93+ "output_type" : " execute_result"
94+ }
95+ ],
96+ "source" : [
97+ " 9//2"
98+ ]
99+ },
100+ {
101+ "cell_type" : " code" ,
102+ "execution_count" : 8 ,
103+ "metadata" : {},
104+ "outputs" : [
105+ {
106+ "data" : {
107+ "text/plain" : [
108+ " 1"
109+ ]
110+ },
111+ "execution_count" : 8 ,
112+ "metadata" : {},
113+ "output_type" : " execute_result"
114+ }
115+ ],
116+ "source" : [
117+ " 9%2"
118+ ]
119+ },
120+ {
121+ "cell_type" : " code" ,
122+ "execution_count" : 11 ,
123+ "metadata" : {},
124+ "outputs" : [
125+ {
126+ "data" : {
127+ "text/plain" : [
128+ " 8"
129+ ]
130+ },
131+ "execution_count" : 11 ,
132+ "metadata" : {},
133+ "output_type" : " execute_result"
134+ }
135+ ],
136+ "source" : [
137+ " 2**3"
138+ ]
139+ },
140+ {
141+ "cell_type" : " code" ,
142+ "execution_count" : 12 ,
143+ "metadata" : {},
144+ "outputs" : [
145+ {
146+ "data" : {
147+ "text/plain" : [
148+ " True"
149+ ]
150+ },
151+ "execution_count" : 12 ,
152+ "metadata" : {},
153+ "output_type" : " execute_result"
154+ }
155+ ],
156+ "source" : [
157+ " True"
158+ ]
159+ },
160+ {
161+ "cell_type" : " code" ,
162+ "execution_count" : 13 ,
163+ "metadata" : {},
164+ "outputs" : [
165+ {
166+ "data" : {
167+ "text/plain" : [
168+ " False"
169+ ]
170+ },
171+ "execution_count" : 13 ,
172+ "metadata" : {},
173+ "output_type" : " execute_result"
174+ }
175+ ],
176+ "source" : [
177+ " False"
178+ ]
179+ },
180+ {
181+ "cell_type" : " code" ,
182+ "execution_count" : 15 ,
183+ "metadata" : {},
184+ "outputs" : [
185+ {
186+ "data" : {
187+ "text/plain" : [
188+ " True"
189+ ]
190+ },
191+ "execution_count" : 15 ,
192+ "metadata" : {},
193+ "output_type" : " execute_result"
194+ }
195+ ],
196+ "source" : [
197+ " 1<2"
198+ ]
199+ },
200+ {
201+ "cell_type" : " code" ,
202+ "execution_count" : 8 ,
203+ "metadata" : {},
204+ "outputs" : [
205+ {
206+ "name" : " stdout" ,
207+ "output_type" : " stream" ,
208+ "text" : [
209+ " 20\n " ,
210+ " <class 'int'>\n "
211+ ]
212+ }
213+ ],
214+ "source" : [
215+ " a=10\n " ,
216+ " b=10.1\n " ,
217+ " c=int(a+b)\n " ,
218+ " print(c)\n " ,
219+ " print(type(c))"
220+ ]
221+ },
222+ {
223+ "cell_type" : " code" ,
224+ "execution_count" : null ,
225+ "metadata" : {},
226+ "outputs" : [],
227+ "source" : []
228+ }
229+ ],
230+ "metadata" : {
231+ "kernelspec" : {
232+ "display_name" : " Python 3" ,
233+ "language" : " python" ,
234+ "name" : " python3"
235+ },
236+ "language_info" : {
237+ "codemirror_mode" : {
238+ "name" : " ipython" ,
239+ "version" : 3
240+ },
241+ "file_extension" : " .py" ,
242+ "mimetype" : " text/x-python" ,
243+ "name" : " python" ,
244+ "nbconvert_exporter" : " python" ,
245+ "pygments_lexer" : " ipython3" ,
246+ "version" : " 3.7.4"
247+ }
248+ },
249+ "nbformat" : 4 ,
250+ "nbformat_minor" : 4
251+ }
You can’t perform that action at this time.
0 commit comments