semvec/pypi-packages huggingface dataset:
xcalc 1.2.0
Simple calculator

# Simple calculator
---
## Usage in code

```
from xtcalc import tool

# Add 5 + 34
a1 = xt.add(5, 34)

# Subtract 12 - 5
a2 = xt.subtract(12, 5)

# Divide 15 / 5
a3 = xt.divide(15, 5)

# Multiply 45 * 23
a4 = xt.multiply(45, 23)

# A random number, for example from 1 to 50
a5 = xt.rnd(1,50)

print(a1, a2, a3, a4, a5)
```
---
## Syntax and description

| Syntax | Description | Example |
| ----------- | ----------- | ----------- |
| add | Add 5 + 34 | xt.add(5, 34) |
| subtract | Subtract 12 - 5 | xt.subtract(12, 5) |
| divide | Divide 15 / 5 | xt.divide(15, 5) |
| multiply | Multiply 45 * 23 | xt.multiply(45, 23) |
| rnd | Random from 1 to 50 | xt.rnd(1, 50) |