Skip to content

hexlet-components/python-points

Repository files navigation

python-points

github action status

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

Install

pip install hexlet-points

Usage example

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

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.

See most active contributors on hexlet-friends.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy