Thanks to visit codestin.com
Credit goes to github.com

Skip to content

calculator.py: fixed mod error, new features and code changes #196

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 2 commits into from
Jul 12, 2017
Merged

Conversation

shreydan
Copy link
Contributor

  • standalone main() function
  • round to nearest integer feature.
  • converting degrees to radians feature
  • moved string-handling part of result() function to calc() function

@shreydan shreydan changed the title new features and code changes calculator.py : new features and code changes Jul 11, 2017
@shreydan
Copy link
Contributor Author

@yadneshk Please always check if the program is working or not before you create a pull request. Issues in your pull:

  • mod is not a python math function.
  • Indentation error.

Fixed the issues along with my changes. Thanks for adding the mod function.

@shreydan shreydan changed the title calculator.py : new features and code changes calculator.py: fixed mod error, new features and code changes Jul 12, 2017
@shreydan
Copy link
Contributor Author

Please also take a look at shreydan/python for more of such programs

@geekcomputers geekcomputers merged commit ea61fe8 into geekcomputers:master Jul 12, 2017
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