Skip to content
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

Updated Calculator.py script file, updated the code, removed zero division error and changed the code structure as well as added commented docs #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

r1shavd
Copy link

@r1shavd r1shavd commented May 12, 2021

In this commit, we made the following changes :

  1. Removed the zero division error + changed the variable names.
  2. Added commented docs + added in-code comment lines to make the source code properly readable as well as makes the source code beautiful.

r1shavd added 2 commits May 12, 2021 14:21
…ision error and changed the code structure as well as added commented docs

In this commit, we made the following changes :
1. Removed the zero division error + changed the variable names.
2. Added commented docs + added in-code comment lines to make the source code properly readable as well as makes the source code beautiful.
… main function

In this commit, we made the following changes :
1. Added the main function and put the entire source code inside it.
2. Added the conditional statements for the proper calling of the main function + error handling too at that point of the script execution.
3. Also the error catching code by which now the user has the option to exit the script anytime by pressing the CTRL+C key combination.
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.

1 participant