Python/paint.py
def triangle(start, end):
    "Draw triangle from start to end."
    up()
    goto(start.x, start.y)
    down()
    begin_fill()

    for count in range(3):
        forward(end.x - start.x)
        left(120)

    end_fill()
Draw triangle from start to end.
Draw triangle from start to end.
Draw triangle from start to end .
def triangle(start, end):
    up()
    goto(start.x, start.y)
    down()
    begin_fill()
    for count in range(3):
        forward(end.x - start.x)
        left(120)
    end_fill()
def triangle ( start , end ) : up ( ) goto ( start . x , start . y ) down ( ) begin_fill ( ) for count in range ( 3 ) : forward ( end . x - start . x ) left ( 120 ) end_fill ( )
Draw triangle from start to end.
Draw triangle from start to end .
"Draw triangle from start to end."
start
end