Files
inf-kswo/RandomTurtle/Kleeblatt.py
Janis Hutz ede0ee318b Format
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
2025-11-03 17:08:35 +01:00

20 lines
309 B
Python
Executable File

from turtle import *
speed(1000)
def blatt(seite, winkel, anzahl):
for i in range(anzahl):
begin_fill()
for i in range(3):
fd(seite)
lt(winkel)
end_fill()
rt(360 / anzahl)
ht()
color("green")
blatt(100, 120, 4)
exitonclick()