Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Rectangle:
- def __init__(self, x, y):
- self.x = x
- self.y = y
- def intersection(self, other):
- print(self.x, self.y, other.x, other.y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement