Use the dot (.) notation to create attributes for an object.
An attribute is a variable that is associated with an object.
We looked at initializing attributes in a class with the init function, and creating methods.
✩ ✩ ✩
Use the dot (.) notation to create attributes for an object.
An attribute is a variable that is associated with an object.
We looked at initializing attributes in a class with the init function, and creating methods.
Comments
Post a Comment