
Day 16 of 100
Day 16 on the 16th day of the month. Wonderful. Today, I learned the basics of OOP, what a class is, what are objects in the class, attributes and methods. I used this to play around with the turtle library and also downloaded prettytable from pypi.org to play around with. I have gotten a pretty basic understanding of how classes work in general and how to use the attributes within. At first, I was a bit confused between attributes and methods but I am assuming that attributes is the variable you call on eg. class.variable and method is the fuction eg. class.do_this() As per my understanding it is: Class > Object > Attributes(variables)/components is has & Methods(Functions)/things that it can do Anyways, tomorrow I will go a bit more in-depth or just continue to practice this.
Continue reading on Dev.to
Opens in a new tab



