Son-Hai Nguyen2,481 Points
What 'item' in 'return self[item]' stands for?
return self[item], what does the
item stand for? Is it stand for keys we put in our dictionary?
And I see this
item gave results which are pretty similar to:
for key, value in kwargs.items(): setattr(self, key, value)
Are they the same?
.items() method is used to return the list with all dictionary keys with values.