Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. class Rectangle:
  2.     def __init__(self, x, y):
  3.         self.x = x
  4.         self.y = y
  5.  
  6.     def intersection(self, other):
  7.         print(self.x, self.y, other.x, other.y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement