File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-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+ " {'a': 1, 'b': 3, 'd': 4}\n "
13+ ]
14+ }
15+ ],
16+ "source" : [
17+ " x = dict(a=1, b=2)\n " ,
18+ " y = dict(b=3, d=4)\n " ,
19+ " z = {**x, **y}\n " ,
20+ " print(z)"
21+ ]
22+ },
23+ {
24+ "cell_type" : " code" ,
25+ "execution_count" : null ,
26+ "metadata" : {},
27+ "outputs" : [],
28+ "source" : []
29+ }
30+ ],
31+ "metadata" : {
32+ "kernelspec" : {
33+ "display_name" : " Python 3" ,
34+ "language" : " python" ,
35+ "name" : " python3"
36+ },
37+ "language_info" : {
38+ "codemirror_mode" : {
39+ "name" : " ipython" ,
40+ "version" : 3
41+ },
42+ "file_extension" : " .py" ,
43+ "mimetype" : " text/x-python" ,
44+ "name" : " python" ,
45+ "nbconvert_exporter" : " python" ,
46+ "pygments_lexer" : " ipython3" ,
47+ "version" : " 3.7.1"
48+ }
49+ },
50+ "nbformat" : 4 ,
51+ "nbformat_minor" : 2
52+ }
You can’t perform that action at this time.
0 commit comments