Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

turtle python

import turtle
a = turtle.Turtle()
a.color("orange")
a.begin_fill()
for i in range (1,11):
	a.forward(36)
	a.left(36)
a.end_fill()

a.right(90)
a.forward(30)
a.color("red")
a.write("Decagon")
a.forward(25)
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #turtle #python
ADD COMMENT
Topic
Name
7+2 =