There really is no hope of making this code even half-way decent without
spending the time to rewrite them all properly. Don't want to do any of
that
This commit is contained in:
2025-11-03 17:08:35 +01:00
parent 21a17e33fa
commit ede0ee318b
48 changed files with 1219 additions and 582 deletions

View File

@@ -1,11 +1,18 @@
from turtle import*
from turtle import *
import math
rt(45)
go = 1
color("red")
distance_in = int(numinput("Wie weit darf sich die Turtle vom Mittelpunkt entfernen??", " Gerade Zahl von 1-unendlich ",300,minval=1))
distance_in = int(
numinput(
"Wie weit darf sich die Turtle vom Mittelpunkt entfernen??",
" Gerade Zahl von 1-unendlich ",
300,
minval=1,
)
)
for i in range(4):
go = 1
@@ -20,9 +27,9 @@ for i in range(4):
else:
if distance <= -distance_in:
go = 0
else:
go = 1
bk(distance_in)
rt(90)
rt(90)