hexletpoints 0.3.0
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.