python turtle up down code example Example: setheading in python turtle.setheading(direction) #set the direction for turtle