point24
calculate 24 with four numbers with braces, add, sub, mul and div.
Install
pip install point24
Usage
Solve
import point24
# given four intergers
# output all solutions
for line in point24.solve(1, 3, 4, 5):
print(line)
Random Question
import point24
max_num = 13
print(*point24.rand_question(max_num)) # ensured to be feasible
Game
import point24
max_num = 13
point24.game(max_num)
Metadata
Release files for point24 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| point24-0.1.4.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| point24-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / point24-0.1.4.tar.gz
| Download URL | point24-0.1.4.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2df81cbeee6ab57ec4b5b812c90c6527bae8feace1a6e68ed923ec217188e3fe
|
|
BLAKE2b-256 checksum How to use checksums |
97c74cacd053d8d8715cd4c856dab6a5fa6651df77c14b4f420b5cb4716c4a8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.13.12 Windows/11
|
Release files / point24-0.1.4-py3-none-any.whl
| Download URL | point24-0.1.4-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
501ee674c0facfad14f1ad5b16c3cb51a125a78bfd2afee273a74db9e54c6a42
|
|
BLAKE2b-256 checksum How to use checksums |
4cf7b60cb2927dc65f2a36142e7f70675ae0a56e987f4d8a50da9ecce20ebad6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.13.12 Windows/11
|