import turtle
sc = turtle.Turtle()
sc.speed(100)
def square(lenght, angle):
for i in range(4):
sc.forward(lenght)
sc.left(angle)
for i in range(1000):
square(100,90)
sc.left(21)
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.