+ 1
What is the difference between def and class in python3 ?
I always use def while working on my projects. But ive seen many ppl using class as well , and from what i hear it they are sort of familiar. I still dont know exactly what it is , i really want to know it in depth as it might be useful to me.
1 Réponse
0
So Class is is like a room full of functions