https://github.com/asgarzee/algebraic_expression
Parsing algebraic expression using regex and evaluate it
https://github.com/asgarzee/algebraic_expression
algebra eval python3 python35 regex
Last synced: 9 months ago
JSON representation
Parsing algebraic expression using regex and evaluate it
- Host: GitHub
- URL: https://github.com/asgarzee/algebraic_expression
- Owner: asgarzee
- Created: 2017-12-18T19:37:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T19:43:10.000Z (over 8 years ago)
- Last Synced: 2025-03-09T21:53:26.367Z (about 1 year ago)
- Topics: algebra, eval, python3, python35, regex
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Parsing algebraic expression using regex
---
#### Requirements
```sh
Python 3.5
```
### Run Script
```sh
python algebraic_expression.py "z=a*(c/e)+b/(a+d) a=23 b=200 c=234 d=1.34 e=22.45"
```
### Sample Expression with variables
```sh
z=a*(c/e)+b/(a+d) a=23 b=200 c=234 d=1.34 e=22.45
```