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

0

u/[deleted] Oct 09 '26

[deleted] — view deleted comment

1

u/SoftwareDoctor Oct 09 '26

Yeah, read beyond the first sentence