#   a116_buggy_image.py
import turtle as trtl
# instead of a descriptive name of the turtle such as painter,
# a less useful variable name x is used
x = trtl.Turtle()
x.pensize(40)   #choosing spider body pen thickness
x.circle(20) #Making spider body

x.goto(0,-25)
x.pensize(10)
x.circle(10)

lines = 8
length = 70
spacing = 240 / lines #config for legs 
x.pensize(5)


counter = 0
while (counter < lines/2): #while loop to draw the legs 
  x.goto(0,20)
  x.setheading(spacing*counter-45)
  x.forward(length)
  counter = counter + 1

counter = 0
while (counter < lines/2): #while loop to draw the legs 
  x.goto(0,20)
  x.setheading(spacing*counter-45+180)
  x.forward(length)
  counter = counter + 1

x.pencolor("white")
x.fillcolor("white")
x.penup()
x.goto(-10,-25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()
x.penup()
x.goto(10,-25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()

x.hideturtle()
wn = trtl.Screen()
wn.mainloop()
ba31e535f9b4e64a845eb4e6d2ae5a5ad0255878
<mask token>

<mask token>
x.pensize(40)
x.circle(20)
x.goto(0, -25)
x.pensize(10)
x.circle(10)
<mask token>
x.pensize(5)
<mask token>
while counter < lines / 2:
    x.goto(0, 20)
    x.setheading(spacing * counter - 45)
    x.forward(length)
    counter = counter + 1
<mask token>
while counter < lines / 2:
    x.goto(0, 20)
    x.setheading(spacing * counter - 45 + 180)
    x.forward(length)
    counter = counter + 1
x.pencolor('white')
x.fillcolor('white')
x.penup()
x.goto(-10, -25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()
x.penup()
x.goto(10, -25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()
x.hideturtle()
<mask token>
wn.mainloop()

<mask token>
x = trtl.Turtle()
x.pensize(40)
x.circle(20)
x.goto(0, -25)
x.pensize(10)
x.circle(10)
lines = 8
length = 70
spacing = 240 / lines
x.pensize(5)
counter = 0
while counter < lines / 2:
    x.goto(0, 20)
    x.setheading(spacing * counter - 45)
    x.forward(length)
    counter = counter + 1
counter = 0
while counter < lines / 2:
    x.goto(0, 20)
    x.setheading(spacing * counter - 45 + 180)
    x.forward(length)
    counter = counter + 1
x.pencolor('white')
x.fillcolor('white')
x.penup()
x.goto(-10, -25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()
x.penup()
x.goto(10, -25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()
x.hideturtle()
wn = trtl.Screen()
wn.mainloop()

import turtle as trtl
x = trtl.Turtle()
x.pensize(40)
x.circle(20)
x.goto(0, -25)
x.pensize(10)
x.circle(10)
lines = 8
length = 70
spacing = 240 / lines
x.pensize(5)
counter = 0
while counter < lines / 2:
    x.goto(0, 20)
    x.setheading(spacing * counter - 45)
    x.forward(length)
    counter = counter + 1
counter = 0
while counter < lines / 2:
    x.goto(0, 20)
    x.setheading(spacing * counter - 45 + 180)
    x.forward(length)
    counter = counter + 1
x.pencolor('white')
x.fillcolor('white')
x.penup()
x.goto(-10, -25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()
x.penup()
x.goto(10, -25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()
x.hideturtle()
wn = trtl.Screen()
wn.mainloop()

#   a116_buggy_image.py
import turtle as trtl
# instead of a descriptive name of the turtle such as painter,
# a less useful variable name x is used
x = trtl.Turtle()
x.pensize(40)   #choosing spider body pen thickness
x.circle(20) #Making spider body

x.goto(0,-25)
x.pensize(10)
x.circle(10)

lines = 8
length = 70
spacing = 240 / lines #config for legs 
x.pensize(5)


counter = 0
while (counter < lines/2): #while loop to draw the legs 
  x.goto(0,20)
  x.setheading(spacing*counter-45)
  x.forward(length)
  counter = counter + 1

counter = 0
while (counter < lines/2): #while loop to draw the legs 
  x.goto(0,20)
  x.setheading(spacing*counter-45+180)
  x.forward(length)
  counter = counter + 1

x.pencolor("white")
x.fillcolor("white")
x.penup()
x.goto(-10,-25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()
x.penup()
x.goto(10,-25)
x.begin_fill()
x.pendown()
x.circle(3)
x.end_fill()

x.hideturtle()
wn = trtl.Screen()
wn.mainloop()