From 8dc1e67c91d1a0c30dfa37a6c2a2a903078378b4 Mon Sep 17 00:00:00 2001 From: Mika Date: Thu, 2 Nov 2023 14:10:41 +0100 Subject: [PATCH] =?UTF-8?q?kleine=20=C3=84nderungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mustergenerator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mustergenerator.py b/mustergenerator.py index 2631b80..0f4b954 100644 --- a/mustergenerator.py +++ b/mustergenerator.py @@ -8,7 +8,7 @@ class Circle: assert length >= 0, "length can not be negative" assert height >= 0, "height can not be negative" assert radius >= 0, "radius can not be negative" - assert distance >= 2*radius, "distance must be grater den two times the radius" + assert distance >= 2*radius, "distance must be grater then two times the radius" assert offset >= 0, "offset can only be 0 - 100 %" assert offset <= 100, "offset can only be 0 - 100 %" @@ -53,7 +53,7 @@ class Circle: @distance.setter def distance(self, val): - assert distance >= 2 * radius, "distance must be grater den two times the radius" + assert distance >= 2 * radius, "distance must be grater then two times the radius" self.__distance = val @property