Answers for "python turtle spiral"

0

python turtle spiral

import turtle
variable = 90 #How big is the spiral
for x in range(17): #Spacing/variable - 1
  turtle.forward(variable)
  turtle.left(90)#right works here too!
  variable = variable - 5#space between each line
Posted by: Guest on April-25-2022

Python Answers by Framework

Browse Popular Code Answers by Language