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
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
from turtle import*
|
||||
from turtle import *
|
||||
|
||||
speed(1000)
|
||||
|
||||
def blatt(seite,winkel,anzahl):
|
||||
|
||||
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)
|
||||
rt(360 / anzahl)
|
||||
|
||||
|
||||
ht()
|
||||
color("green")
|
||||
blatt(100,120,4)
|
||||
exitonclick()
|
||||
blatt(100, 120, 4)
|
||||
exitonclick()
|
||||
|
||||
Reference in New Issue
Block a user