Metadata-Version: 2.4
Name: point24
Version: 0.1.4
Summary: calculate 24 with four numbers with braces, add, sub, mul and div.
License: MIT
License-File: LICENSE
Author: GGN_2015
Author-email: neko@jlulug.org
Requires-Python: >=3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: pip_pkg_info
Requires-Dist: sympy
Description-Content-Type: text/markdown

# point24
calculate 24 with four numbers with braces, add, sub, mul and div.

## Install

```bash
pip install point24
```

## Usage

### Solve

```python
import point24

# given four intergers
# output all solutions 
for line in point24.solve(1, 3, 4, 5):
    print(line)
```

### Random Question

```python
import point24

max_num = 13
print(*point24.rand_question(max_num)) # ensured to be feasible
```

### Game

```python
import point24

max_num = 13
point24.game(max_num)
```

