# This example uses a prewritten library (or module) called turtle. # A library is a collection of code, written and compiled by someone else, # that is ready for you to use in your program # # Reference: https://docs.python.org/3/library/turtle.html import turtle # [style convention: leave 2 blank lines after import statement(s)] duh = turtle.Turtle() # create an instance of a turtle, named "duh" duh.forward(50) # duh initially starts facing right, tell dur to move forward 50 pixel turtle.done() # leave the screen (try comment it out, run and observe what happens) # [style convention: leave a blank line at the end of program]