Skip to content

hexlet-components/python-points

Repository files navigation

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

About

A SICP'ish Points implemented in Python using hexlet-pairs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7