import turtle               ## Import turtle module

wn = turtle.Screen()        ## Create a graphics window
wn.bgcolor("blue")          ## Sets background color of window
tom = turtle.Turtle()       ## Create a turtle named tom
tom.speed(1)                ## Set tom's speed
## tom.hideturtle()            ## Hide tom from view

## -------------------
## - Define functions
## -------------------

def repositionTurtle(t, x, y):
    """Make turtle t move to x, y coordinates"""
    t.up()
    t.goto(x, y)
    t.down()
    

def drawTriangle(t, color, x, y):
    """Make turtle t draw triangle in c color, forward x"""
 ##   t.color(color)
 ##   t.begin_fill()
    for i in range(3):
        t.forward(x)
        t.right(y)
 ##   t.end_fill()

repositionTurtle(tom, -15, 160)         ## Move for nose
drawTriangle(tom, "orange", 30, 120)         ## Draw nose

8d920487ba4a49b14facfb3f50cc36c885195ca2
<mask token>


def repositionTurtle(t, x, y):
    """Make turtle t move to x, y coordinates"""
    t.up()
    t.goto(x, y)
    t.down()


def drawTriangle(t, color, x, y):
    """Make turtle t draw triangle in c color, forward x"""
    for i in range(3):
        t.forward(x)
        t.right(y)


<mask token>

<mask token>
wn.bgcolor('blue')
<mask token>
tom.speed(1)


def repositionTurtle(t, x, y):
    """Make turtle t move to x, y coordinates"""
    t.up()
    t.goto(x, y)
    t.down()


def drawTriangle(t, color, x, y):
    """Make turtle t draw triangle in c color, forward x"""
    for i in range(3):
        t.forward(x)
        t.right(y)


repositionTurtle(tom, -15, 160)
drawTriangle(tom, 'orange', 30, 120)

<mask token>
wn = turtle.Screen()
wn.bgcolor('blue')
tom = turtle.Turtle()
tom.speed(1)


def repositionTurtle(t, x, y):
    """Make turtle t move to x, y coordinates"""
    t.up()
    t.goto(x, y)
    t.down()


def drawTriangle(t, color, x, y):
    """Make turtle t draw triangle in c color, forward x"""
    for i in range(3):
        t.forward(x)
        t.right(y)


repositionTurtle(tom, -15, 160)
drawTriangle(tom, 'orange', 30, 120)

import turtle
wn = turtle.Screen()
wn.bgcolor('blue')
tom = turtle.Turtle()
tom.speed(1)


def repositionTurtle(t, x, y):
    """Make turtle t move to x, y coordinates"""
    t.up()
    t.goto(x, y)
    t.down()


def drawTriangle(t, color, x, y):
    """Make turtle t draw triangle in c color, forward x"""
    for i in range(3):
        t.forward(x)
        t.right(y)


repositionTurtle(tom, -15, 160)
drawTriangle(tom, 'orange', 30, 120)

import turtle               ## Import turtle module

wn = turtle.Screen()        ## Create a graphics window
wn.bgcolor("blue")          ## Sets background color of window
tom = turtle.Turtle()       ## Create a turtle named tom
tom.speed(1)                ## Set tom's speed
## tom.hideturtle()            ## Hide tom from view

## -------------------
## - Define functions
## -------------------

def repositionTurtle(t, x, y):
    """Make turtle t move to x, y coordinates"""
    t.up()
    t.goto(x, y)
    t.down()
    

def drawTriangle(t, color, x, y):
    """Make turtle t draw triangle in c color, forward x"""
 ##   t.color(color)
 ##   t.begin_fill()
    for i in range(3):
        t.forward(x)
        t.right(y)
 ##   t.end_fill()

repositionTurtle(tom, -15, 160)         ## Move for nose
drawTriangle(tom, "orange", 30, 120)         ## Draw nose
