Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
198 B
7
Indexable
Never
class point:
	""" point class represents and manipulate x,y """
	def _init_(self):
		""" create a new point at the origin"""
		self.x = 0
		self.y = 0
p = point()
q = point()

print(p.x,p.y,q.x,q.y)