An open API service indexing awesome lists of open source software.

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

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
```