Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a square in python

import turtle


turtle.begin_fill()
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.end_fill()
turtle.right(145)
turtle.forward(50)
 
PREVIOUS NEXT
Tagged: #square #python
ADD COMMENT
Topic
Name
9+1 =