@ -646,7 +646,11 @@
"outputs": [],
"source": [
"# Make an empty dictionary\n",
"dict = {}"
"d = {}\n",
"\n",
"# or\n",
"d = dict()"
]
},
{
@ -655,8 +659,8 @@
"metadata": {},
"dict['word'] = 10 \n",
"d['word'] = 10 \n",
"print(dict)"
"print(d)"
@ -665,7 +669,7 @@
"dict.keys()"
"d.keys()"