Dictionaries vs Objects | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Dictionaries vs Objects

What is the benefit of using dictionaries over objects in Python 3.x? Examples would be much appreciated.

14th Aug 2017, 8:42 PM
Matthew Kinzler
Matthew Kinzler - avatar
1 Answer
Generally objects and dictionaries are 2 different things. Object is an instance of a class, where dictionary is container that may store objects.
14th Aug 2017, 8:55 PM
Jakub Stasiak
Jakub Stasiak - avatar