Skip to content

Commit 6efd77f

Browse files
committed
push
1 parent b3a84e9 commit 6efd77f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

python_class10/class10.py

Whitespace-only changes.

python_class9/class9.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#A dictionary is a collection which is ordered*, changeable and do not allow duplicates.
66
#Dictionaries are written with curly brackets, and have keys and values:
77

8-
my_dict = {'name':'harry', 'age':30}
8+
my_dict = {'name':'harry', 'age':30, 'Address':'bangalore'}
99
print(my_dict['name']) #1st method
1010
print(my_dict.get('age')) #2nd method print
1111

@@ -36,3 +36,5 @@
3636
print(type(a))
3737

3838

39+
40+
152 KB
Loading

0 commit comments

Comments
 (0)