Class:- A class have some function and methods. We create functions in a class and if we want to access data of class then we create object of that class.
Object:- An object is an instance of a class and you can make more than one object of a class.
Syntax of class and object in python.
How to print value of any variable using object of a class.