Umlaute werden jetzt unterstützt (https://www.python-forum.de/viewtopic.php?t=5095) und Tests hinzugefügt

This commit is contained in:
2020-11-03 07:07:36 +01:00
parent 91e2f47089
commit f782e433ca

View File

@@ -1,3 +1,5 @@
# -*- coding: iso-8859-15 -*
class Vector(object):
def __init__(self, coordinates):
try:
@@ -19,3 +21,8 @@ class Vector(object):
def __eq__(self, v):
return self.coordinates == v.coordinates
# Tests
vektor_1 = Vector([1,2,3])
print vektor_1