Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmobaird/math_reddit_bot
https://github.com/tmobaird/math_reddit_bot
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmobaird/math_reddit_bot
- Owner: tmobaird
- Created: 2015-02-01T04:33:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-01T05:40:30.000Z (almost 10 years ago)
- Last Synced: 2023-09-04T03:03:43.091Z (about 1 year ago)
- Language: Python
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# math_reddit_bot
This bot acts almost like a simple calculator. To use this bot the indicator word math must first be used.
The word math is then followed by the operator you would like to use ("add", "subtract", "multiply", "divide").
The operator is followed by the numbers the operator will be acting upon.Example input and output:
input: math add 2 3
bot response: your answer is 5Example 2:
input: math multiply 2 2 2 2
bot response: your answer is 16link to umw_cpsc470Z subreddit: http://www.reddit.com/r/umw_cpsc470Z/
link to math_reddit_bot test page: http://www.reddit.com/r/umw_cpsc470Z/comments/2udmey/simple_math_bot/