Question: what is the difference between an attribute and a method (in relation to data)?
Answer: 5 Answers. An attribute is a variable that is looked up on another object using dot syntax: obj. ... Methods are functions stored in the class, but you usually use them by looking them up on an instance (which "binds" the method, inserting the object as the first arguemnt when the method is called).