https://github.com/arvrao/oops-examples
In this repo, I'll put all interesting classes examples in python. Hope this is helpful in understanding the concept of OOPS & python syntax
https://github.com/arvrao/oops-examples
oops-in-python programming python
Last synced: 3 months ago
JSON representation
In this repo, I'll put all interesting classes examples in python. Hope this is helpful in understanding the concept of OOPS & python syntax
- Host: GitHub
- URL: https://github.com/arvrao/oops-examples
- Owner: ArvRao
- Created: 2020-12-12T18:06:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-17T16:34:35.000Z (about 4 years ago)
- Last Synced: 2025-01-15T19:33:06.605Z (11 months ago)
- Topics: oops-in-python, programming, python
- Language: Python
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OOPS-examples
In this repo, I'll put all interesting classes examples in python. Hope this is helpful in understanding the concept of OOPS & python syntax
Why Object Oriented Programming?
Creating objects allows us to organize related data and functionalies together.
This helps us to write structured and flexible code. Instead of thinking about individual data and functions, we could think of objects and how these onjects interacts with one another. Divide a problem into smaller problems and reusable and define multiple objects with similar attributes and functionalities from a single class. This is a more practical way of solving real life problems.
Everything in python is an object of some class. We can build our own classes to build custom objects.