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
20 lines
309 B
Python
Executable File
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()
|