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)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
point24-0.1.4.tar.gz
(7.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file point24-0.1.4.tar.gz.
File metadata
- Download URL: point24-0.1.4.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.13.12 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2df81cbeee6ab57ec4b5b812c90c6527bae8feace1a6e68ed923ec217188e3fe
|
|
| MD5 |
d9185eca219dfb83ddacc6c957fa4269
|
|
| BLAKE2b-256 |
97c74cacd053d8d8715cd4c856dab6a5fa6651df77c14b4f420b5cb4716c4a8d
|
File details
Details for the file point24-0.1.4-py3-none-any.whl.
File metadata
- Download URL: point24-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.13.12 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
501ee674c0facfad14f1ad5b16c3cb51a125a78bfd2afee273a74db9e54c6a42
|
|
| MD5 |
66af0f11e427fbb6b2acfd2a9b27dd47
|
|
| BLAKE2b-256 |
4cf7b60cb2927dc65f2a36142e7f70675ae0a56e987f4d8a50da9ecce20ebad6
|