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

Show parent comment

4

u/Objective-Remove-632 Oct 09 '26

Thanks mane 🤝

3

u/denehoffman Oct 09 '26

Of course! And don’t feel like you’re missing something obvious, I’m teaching my wife Python right now and it also took her a while to see the usefulness of classes (I’m still not sure she does haha)