A SICP'ish Points implemented in Python using hexlet-pairs
Project description
hexlet-points
A SICP'ish Points implemented in Python using hexlet-pairs.
Usage
>>> from hexlet import points
>>> p = points.make(100, 200)
>>> print(points.to_string(p))
(100, 200)
>>> points.get_x(p)
100
>>> points.get_y(p)
200
>>> points.get_quadrant(p)
1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hexlet-points-0.3.0.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file hexlet-points-0.3.0.tar.gz
.
File metadata
- Download URL: hexlet-points-0.3.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.6.8 Linux/4.15.0-55-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd31c38689c15a0e5a696ca49beb8bf57f5253d3b49495849414cab73d8f6e25 |
|
MD5 | ca23b6956459f1185db6326dbd5317a4 |
|
BLAKE2b-256 | a3fabca96ff1b65f0574b7b959633c2bf40820a21d2b9b5c058e53a1e26283a1 |
File details
Details for the file hexlet_points-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: hexlet_points-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.6.8 Linux/4.15.0-55-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4512e55f0ef176ffbe4b34b0ecb2cc41aeb56837816e5e9d48cbe5e0b12b7071 |
|
MD5 | 0a6aa390e591a104bfbc805a7963c030 |
|
BLAKE2b-256 | 66c25f183ef7e661ed3eae3b15afea60b16e9d7494eecb89e213eb3817283e78 |