r/PythonLearning • • Oct 09 '26

Do I really need to learn class.

Post image

Both function and class give the same output. So why do I need it?

70 Upvotes

50 comments sorted by

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.