Donnerstagabend

This commit is contained in:
2022-11-24 17:59:17 +01:00
parent 20066fe48d
commit aea7c693d6
7 changed files with 100 additions and 11 deletions

View File

@@ -1,10 +1,14 @@
#!/usr/bin/env python3
from vectors import Vector
from vectors import Vector, Vector2
v1 = Vector(1, 2, 3, )
v1 = Vector(1, 2, 3)
v2 = Vector(4,0,1)
print(v1.get_values())
del v2
print("Jetzt wird v2 freigebe ")
#print(v2)
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()