title: Attribute definition
body: <p>I am currently writing a paper on python fundamentals and I need some help on it as I could not find a single consistent definition for Attribute</p>
  
  <pre><code>class Person:
      def __init__(self,weight):
          self.weight = weight
  </code></pre>
  
  <p>An attribute is something that describes an object for example weight = 75. In this case, what is an attribute exactly is it 75 or is it weight(the variable) or is the combination of both the variable and the value.</p>
  
  <p>Some people say attribute is the data stored in the object, which is correct if we consider 75 to be an attribute.</p>
  
  <p>Some people call attribute to be instance and class variables that store data pertaining to the class and the instance, which is correct if we consider weight to be an attribute(the variable name)</p>
  
  <p>Some call attribute the combination of name and a value which means weight = 75 as a whole becomes the attribute</p>
  
  <p>All the above definitions are slightly different if we go by their literal meaning and people use them interchangeably</p>
  
  <p>Am I missing something??</p>
  
  <p>I just need to be sure before I send the draft to my HOD</p>
  
  <p>Thank you, everyone</p>
  
  <p>Please do take good care of yourself and avoid traveling as much as possible
  Chyanit </p>