3 ms·You should use a namedtuple for that sort of thing, and then refer to the members as pt.x and pt.y.by jacobolus 11y agoYou should use a namedtuple for that sort of thing, and then refer to the members as pt.x and pt.y.