Skip to content

Instantly share code, notes, and snippets.

@aurelianonava
Last active August 29, 2015 14:05
Show Gist options
  • Save aurelianonava/3bea71dbd7e8ad9de8c5 to your computer and use it in GitHub Desktop.
Save aurelianonava/3bea71dbd7e8ad9de8c5 to your computer and use it in GitHub Desktop.
Using dot() in python
import turtle
t = turtle.Pen()
screen = t.getscreen()
# the # pound symbol is used to insert single-line comments
# draws a crcular dot at center of stage, (0,0)
t.dot()
#Exits screen with mouse click event
screen.exitonclick()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment