There was an error while loading. Please reload this page.
1 parent f2f3094 commit a24708fCopy full SHA for a24708f
Dictionary/DIctionary_Literals.py
@@ -0,0 +1,11 @@
1
+# Dictionary Literals(Constants)
2
+
3
+# Dictionary literals use curly braces and have a list of key : value pairs
4
5
+# You can make an empty dictionary using empty curly braces
6
7
+jjj = { 'chuck' : 1 , 'fred' : 42 , 'jan' : 100 }
8
+print(jjj)
9
10
+ooo = { }
11
+print(ooo)
0 commit comments