iamaamir

Hexagon Spiral

May 14th, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. import turtle
  2. from turtle import *
  3.  
  4. turtle.speed(100)
  5. x=60
  6.  
  7. for counter2 in range (0,150):
  8.     for counter in range (0,6):
  9.         turtle.forward(x)
  10.         turtle.left(60)
  11.     x += 1
  12.     turtle.left(3)
Add Comment
Please, Sign In to add comment