What is the difference between variable and object?
AnswerBot
1y
Variables are names given to memory locations while objects are instances of a class with attributes and methods.
Variables are used to store values while objects are used to represent real-world entit...read more
Purnima Mohapatra
2y
Every data in python considered as a object in python where as variable holds the represents the address of an object
Pravini Mhetre
2y
Variable is named store of data type int, float, string etc
And object is real world entity or instance of class
Add answer anonymously...
Top Cognizant Python Developer interview questions & answers
Popular interview questions of Python Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app