A few lessons later user “stellakats” will post this:
I had the same question until I realised I confuse a “class variable” with an “instance variable”. They are not the same thing:
CLASS VARIABLES:
A class variable needs the "creating a variable step " as you call it, in the intended block of the Class. If it is called later by any object using the syntax object.variable, it will yield the same data for every instance/object of the class.
INSTANCE VARIABLES:
Although an instance variable uses the same attribute notation used for accessing class variables (object.variable ) it does so in order to assign data to the object. The data now is not shared by all instances of the class, they re specific to the object they are attached to.
I thought the next page would extend this scenario but it didn’t? What was the point of typing in minimum_passing = 65. How is that related to the example of Class Variable? Who missed the rest of the problem?