Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python turtle square

import turtle

def square(length):
  for i in range(4):
    turtle.forward(length)
    turtle.left(90)
    
square(50)
Source by opentechschool.github.io #
 
PREVIOUS NEXT
Tagged: #python #turtle #square
ADD COMMENT
Topic
Name
7+1 =