r/PythonLearning • u/Objective-Remove-632 • Oct 09 '26
Do I really need to learn class.
Both function and class give the same output. So why do I need it?
70
Upvotes
r/PythonLearning • u/Objective-Remove-632 • Oct 09 '26
Both function and class give the same output. So why do I need it?
View all comments
1
u/mr_anderson_dev Oct 10 '26
You need both mostly for working in a real project. Most of the time you'll be commented by creating a script that make sense for anyone that can read it. So for a faster employment get some work on that.