14 lines
254 B
Python
14 lines
254 B
Python
#!/usr/bin/env python3
|
|
from vectors import Vector, Vector2
|
|
|
|
v1 = Vector(1, 2, 3)
|
|
v2 = Vector(4,0,1)
|
|
v3 = v1 * 3
|
|
#v4 = v1 + v2 #.addition(v2)
|
|
#print(v3.get_values())
|
|
print(str(v1))
|
|
print(v3)
|
|
#print(v4.get_values())
|
|
v5 = Vector2(1, 3)
|
|
print(v5 + 3)
|
|
print() |