1,234
edits
Changes
→INVESTIGATION 1: Classes and objects
Note that the function1() call does not modify the global '''authorName''' variable but function2() does.
== Object/Instance Scope == Every object can have variables that exist for that object only. You create and access those variables with the '''self.''' notation. Note that these are not '''class''' variables. Each object has its own set of '''instance''' variables. You will have seen that when you created objects in the Classes and Objects section above.
= LAB 7 SIGN-OFF (SHOW INSTRUCTOR) =