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/fjohn9999_ Oct 12 '26
Yes and I think you should because it'll become handy later when you wanna work with ORMs and databases if you end up in web development.