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)
Source by favtutor.com #
 
PREVIOUS NEXT
Tagged: #square #python
ADD COMMENT
Topic
Name
1+9 =