0

What is the difference between object and instance?

And can you give an explanaition pls?

5th Apr 2017, 6:29 AM
S0muchM3NY
1 Answer
+ 4
Object is an instance of a class. However, since everything is an object in Python, and so a class is also an object (whoah! :), we usually name objects of a class as its instances, just to be explicit and avoid confusion.
5th Apr 2017, 6:40 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar