- 2

Oop

i think this is the hardest part of python...I really dont even know whats happening anymore

6th Jul 2017, 5:15 PM
Timothy Tabot MacOjong
Timothy Tabot MacOjong - avatar
1 Antwort
+ 1
It's as simple as thinking of things as objects, just as you do with objects of the world. For example, think of the monitor in front of your face. It is an object. It has texture, color, and other things that define it as the object that it is. As well, the object has functions that it performs, such as displaying output to you. Think of the monitor as the object, and all of those properties/methods as what defines the object and how it functions. Hope that helps some.
6th Jul 2017, 5:22 PM
AgentSmith