Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

turtle with python

import turtle
#creating a square with turtle
t = turtle.Turtle()
t.forward(100)
t.color('blue')
t.right(90)
t.forward(100)
t.right(90)
t.forward(100)
t.right(90)
t.forward(100)
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #turtle #python
ADD COMMENT
Topic
Name
4+1 =