>>> dict_simple = {'Name': 'Faraz', 'Age': 27}
>>> newDict = dict_simple.fromkeys(dict_simple)
>>> newDict
{'Name': None, 'Age': None}
>>> dict_simple = {'Name': 'Faraz', 'Age': 27}
>>> dict_simple.keys()
dict_keys(['a', 'c', 'b', 'd'])
>>> dict_simple.values()
dict_values(['Faraz', 27])
>>> dict_simple.items()
dict_items([('Name', 'Faraz'), ('Age', 27)])
>>> del dict_simple['Name']
>>> dict_simple
{'Age': 27}
>>> dict_simple.clear()
>>> dict_simple
{}
>>> del dict_simple
>>> dict_simple
Traceback (most recent call last):
File "<pyshell#24>", line 1, in <module>
d
NameError: name 'd' is not defined