How to Teach Turtle Graphics with Python

Quick little starter template for use teaching introductory python programming to students using the turtle graphics library =>

import turtle
screen = turtle.Screen()
screen.screensize()
screen.setup(width=1.0, height=1.0)
screen.addshape("sprite.gif")
sprite = turtle.Turtle()
sprite.shape("sprite.gif")
sprite.penup()
sprite.goto(0, 0)
sprite.goto(200, 200)
sprite.goto(-200, 200)
sprite.goto(-200, -200)
sprite.goto(200, -200)
sprite.goto(200, 200)
turtle.mainloop()
 

topherPedersen