Untitled
unknown
plain_text
3 years ago
198 B
10
Indexable
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)
Editor is loading...