Page 7 - Lesson Note - DICTIONARIES
P. 7
items()
It returns the content of dictionary as a list of tuples having key-value pairs
Creating Dictionary through fromkeys() method
Syntax:
<dict>.fromkeys(<key sequence>, [<value>])
Creates and returns a new dictionary with key as defined by key-sequence, each key has a
common value (as defined in function call) if skipped None will be assigned