-1

I came across the following line:

Every list object that you create in Python is actually an instance of List class.

What does Class and Object actually mean?

Another similar post

I saw the above post but in that they explain the difference between object and class. But what exactly is a class if Object is an instance of class.

Edit:

What is an instance?

Kaushik
  • 187
  • 3
  • 13
  • @ColumbiasaysReinstateMonica In the above post, i just find the difference between them. Like in an answer the following was said: 'An Object is an instance of class' But what exactly is a class and an object? – Kaushik Dec 09 '19 at 15:24
  • Moreover, what is an instance? – Kaushik Dec 10 '19 at 18:35

1 Answers1

2

Think of classes as blueprints for objects. So for example, you will only have one car model blueprint, and that is your class. Every single model that is produced is an instance. Hope it helps.

jadro12
  • 36
  • 1