Skip to content

Instantly share code, notes, and snippets.

View MarkMoretto's full-sized avatar
🐼
Typing something...

Mark Moretto MarkMoretto

🐼
Typing something...
View GitHub Profile
@MarkMoretto
MarkMoretto / point.py
Last active February 1, 2020 16:48 — forked from hirokai/point.py
2D Point class in Python
# from math import sqrt
class Point:
def __init__(self, X, y):
self.X = X
self.y = y
def shift(self, X = 0, y = 0):
"""