Skip to content

Update Divide Operator.py #1929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

NitkarshChourasia
Copy link
Contributor

With this approach, we encapsulate the division operation inside a class named DivisionOperation. The perform_division() method performs the division without using the / operator and returns the result. By using a class, we adhere to OOP principles, making the code more organized and maintainable.

With this approach, we encapsulate the division operation inside a class named DivisionOperation. The perform_division() method performs the division without using the / operator and returns the result. By using a class, we adhere to OOP principles, making the code more organized and maintainable.
@geekcomputers geekcomputers merged commit 5929c11 into geekcomputers:master Jul 21, 2023
@NitkarshChourasia NitkarshChourasia deleted the patch-1 branch July 30, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants