from turtle import * from math import * r=100 w=20 l=200 def part(): for i in range(2): fd(w) rt(45) fd(l) rt(90+45) def sign(): color("orange") begin_fill() circle(r) end_fill() pu() goto(-2.5*w,r) pd() for i in range(3): pd() color("white") begin_fill() part() end_fill() pu() fd(w*2) pu() goto(r,r) seth(-90) circle(-r,-270) def kreis(name): reset() begin_poly() sign() end_poly() kreis_form = get_poly() screen.register_shape(name, kreis_form) tracer(0) screen = Screen() kreis("kreis") kreis1 = Turtle(shape="kreis") kreis1.lt(90) kreis1.color("orange") kreis1.stamp() kreis1.clear() color("orange") pensize(w) pd();circle(-r) tracer(1) exitonclick()