Dictionaries vs Objects | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
0
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