This question is in a very collective: a subcommunity described by tags with relevant articles and gurus. The Overflow Blog siteI feel its noteworthy that the first i (i=123) that you are building is an object variable though the next i (self.i = 345) is an instance variable. Although occasion variables can have different values for every occasion