Amazing Hexagon design using python source code 👇 import turtle col=( 'red' , 'yellow' , ...
Amazing Hexagon design using python
source code 👇
import turtle
col=('red','yellow','green','cyan','pink',
'white')
t=turtle.Turtle()
screen=turtle.Screen()
screen.bgcolor('black')
t.speed(25)
for i in range (150):
t.color(col[i%6])
t.forward(i*1.5)
t.left(59)
t.width(3)


No comments