Skip to content

Commit 2872572

Browse files
committed
Created using Colaboratory
1 parent f403923 commit 2872572

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

Create_A_dictionary.ipynb

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"nbformat": 4,
3+
"nbformat_minor": 0,
4+
"metadata": {
5+
"colab": {
6+
"name": "Create A dictionary.ipynb",
7+
"provenance": [],
8+
"authorship_tag": "ABX9TyN1SmNMPc+ctaKRUtw7yEjl",
9+
"include_colab_link": true
10+
},
11+
"kernelspec": {
12+
"name": "python3",
13+
"display_name": "Python 3"
14+
},
15+
"language_info": {
16+
"name": "python"
17+
}
18+
},
19+
"cells": [
20+
{
21+
"cell_type": "markdown",
22+
"metadata": {
23+
"id": "view-in-github",
24+
"colab_type": "text"
25+
},
26+
"source": [
27+
"<a href=\"https://colab.research.google.com/github/natnew/100-Python-Projects/blob/main/Create_A_dictionary.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
28+
]
29+
},
30+
{
31+
"cell_type": "code",
32+
"execution_count": 2,
33+
"metadata": {
34+
"colab": {
35+
"base_uri": "https://localhost:8080/"
36+
},
37+
"id": "FbT7myb3V-_A",
38+
"outputId": "7b63600e-664c-49aa-abee-e210fc0d955f"
39+
},
40+
"outputs": [
41+
{
42+
"output_type": "stream",
43+
"name": "stdout",
44+
"text": [
45+
"{'ability': 'the ability to do something', 'abroad': ' in or to a foreign country', 'actor': ' a person who performs on the stage'}\n"
46+
]
47+
}
48+
],
49+
"source": [
50+
"adict = {\n",
51+
"\"ability\": \"the ability to do something\",\n",
52+
"\"abroad\": \" in or to a foreign country\",\n",
53+
"\"actor\": \" a person who performs on the stage\",\n",
54+
"}\n",
55+
"print(adict)"
56+
]
57+
}
58+
]
59+
}

0 commit comments

Comments
 (0)