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

VANS.py

Niklas Vogel

VANS.py — Python Source, 0Kb

File contents

# Made by Niki Vogel 11-4

from turtle import *

bgcolor("grey")

v = Turtle()
a = Turtle()
n = Turtle()
s = Turtle()

vans = (v, a, n, s)

for x in vans:
    x.hideturtle()
    x.color("grey")

v.setpos(-200,100)
a.setpos(-115,-10)
n.setpos(0,-10)
s.setpos(90,-10)

for x in vans:
    x.color("black")
    x.width(10)


v.right(65)
v.forward(120)
v.left(130)
v.forward(120)
v.right(65)
v.forward(250)

a.left(65)
a.forward(100)
a.right(130)
a.forward(100)
a.right(180)
a.forward(25)
a.left(65)
a.forward(60)

n.left(90)
n.forward(90)
n.right(150)
n.forward(105)
n.left(150)
n.forward(90)

s.forward(50)
s.left(90)
s.forward(45)
s.left(90)
s.forward(50)
s.right(90)
s.forward(45)
s.right(90)
s.forward(50)
Document Actions