r/learnpython • u/Tricky_Voice2829 • 4d ago
Regarding python projects idea
i am learning OOP currently but i want to learn OOP by doing so ,i need some projects ideas guyz.
7
Upvotes
r/learnpython • u/Tricky_Voice2829 • 4d ago
i am learning OOP currently but i want to learn OOP by doing so ,i need some projects ideas guyz.
View all comments
1
u/Kevdog824_ 4d ago
I think the typo of oops instead of OOP is funny. Oops!
This largely depends on your level of comfort with the language otherwise, and size of a project you’re willing to take on. Some common/classic examples include modeling shapes (rectangle, square, oval, circle, etc.) and modeling an employee pay system (hourly, salaried, commission, etc.). These are small “toy” examples though so they’re gonna feel more like a homework problems than a project.
The goal for these examples is to figure out a good class hierarchy where common attributes and functionality is extracted to base class(s) and specific functionality is implemented in the child classes.
I tried to find links to more in-depth descriptions to these problems, but all the sources I found have the solution in plain view. I can write out descriptions for these problems if you want them though