Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to draw a rectangle

import turtle
for i in range(2):
  turtle.forward(20)
  turtle.right(90)
  turtle.forward(10)
Source by www.tutorialgateway.org #
 
PREVIOUS NEXT
Tagged: #python #draw #rectangle
ADD COMMENT
Topic
Name
5+5 =