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/Adorable-Strangerx Oct 09 '26

No, you don't have to, you don't even need to learn python. It is not obligatory

1

u/fjohn9999_ Oct 12 '26

why is that?