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

Added a command line calculator function #14

Merged
merged 2 commits into from Jan 10, 2018
Merged

Added a command line calculator function #14

merged 2 commits into from Jan 10, 2018

Conversation

namantw
Copy link
Contributor

@namantw namantw commented Jan 10, 2018

Fixes #10

I tested the calc function on my ubuntu 16.04, everything is working.

print a*b
elif(div): #for division
print a/b
elif(mod): #for moulus
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change the spelling of modulus here

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks perfect apart from that!

@@ -30,6 +31,7 @@
'news=news:cli',
'football=football:cli',
'xkcd=xkcd:cli',
'calc=calc:cli'
]
},
)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job here!
Glad that you made the necessary changes to setup.py too

@namantw
Copy link
Contributor Author

namantw commented Jan 10, 2018

@rahulkumaran done 👍 please merge

@rahulkumaran rahulkumaran merged commit ed6fc35 into rahulkumaran:master Jan 10, 2018
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.

None yet

2 participants