We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ae301 commit ea3bb52Copy full SHA for ea3bb52
vpython/vector.py
@@ -51,7 +51,7 @@ def __str__(self):
51
return '<{:.6g}, {:.6g}, {:.6g}>'.format(self._x, self._y, self._z)
52
53
def __repr__(self):
54
- return '<{:.6g}, {:.6g}, {:.6g}>'.format(self._x, self._y, self._z)
+ return 'vector({:.6g}, {:.6g}, {:.6g})'.format(self._x, self._y, self._z)
55
56
def __add__(self, other):
57
if type(other) is vector:
0 commit comments