>>> def dee(dee):
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}
print dict
>>> dict = {'Name': 'deepak', 'Age': 7, 'Class': 'First'}
>>> dict
{'Age': 7, 'Name': 'deepak', 'Class': 'First'}
>>> dee(dict)
{'Age': 7, 'Name': 'Zara', 'Class': 'First'}
>>> dict
{'Age': 7, 'Name': 'deepak', 'Class': 'First'}
>>>
just comment what you understand .....
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}
print dict
>>> dict = {'Name': 'deepak', 'Age': 7, 'Class': 'First'}
>>> dict
{'Age': 7, 'Name': 'deepak', 'Class': 'First'}
>>> dee(dict)
{'Age': 7, 'Name': 'Zara', 'Class': 'First'}
>>> dict
{'Age': 7, 'Name': 'deepak', 'Class': 'First'}
>>>
just comment what you understand .....
No comments:
Post a Comment