Personal tools
You are here: o studio 110 2016-17 tmp Inf 11 doku doku s py s upload Bene Lock.py

Bene Lock.py

Benedikt

Bene Lock.py — Python Source, 1Kb

File contents

from turtle import*
speed(100)
ht()

color("white")
setx(-260),sety(-5)
color("red")
begin_fill()
fd(149)
lt(90)
fd(60)
lt(90)
fd(60)
lt(90)
fd(30)
rt(90)
fd(90)
end_fill()


color("red")
setx(-250),sety(0)
color("black")
begin_fill()
circle(10)
end_fill()
color("red")
setx(-210),sety(0)
color("black")
begin_fill()
circle(10)
end_fill()
color("red")
setx(-170),sety(0)
color("black")
begin_fill()
circle(10)
end_fill()
color("red")
setx(-130),sety(0)
color("black")
begin_fill()
circle(10)
end_fill()
color("red")
setx(-130),sety(0)
color("black")
begin_fill()
fd(120)
lt(90)
fd(3)
lt(90)
fd(120)
lt(90)
fd(3)
end_fill()
color("red")
setx(-260),sety(28)
color("orange")
begin_fill()
lt(180)
fd(38)
rt(90)
fd(30)
rt(130)
fd(47)
end_fill()
color("red")
setx(-172),sety(30)
color("yellow")
begin_fill()
lt(40)
fd(20)
rt(90)
fd(25)
rt(90)
fd(20)
rt(90)
fd(25)
end_fill()
color("red")
setx(-111),sety(0)
color("black")
begin_fill()
rt(180)
fd(10)
lt(90)
fd(4)
lt(90)
fd(10)
lt(4)
end_fill()








Document Actions