0
[PYTHON3] Classes vs Function?
They both do similar things, why use classes over functions and vice versa.
1 Respuesta
+ 3
Functions automate a task, and objects create an instance. So, objects can hold variables and "functions" (called attributes and behaviours respectively).