generated from mwc/lab_turtle
I felt a little silly at some points like "oh yeah 4 rights do make a circle", but i also felt cool being able to make the picture i sought after. I tried to do two pictures in one drawing and i failed, so i think i would be inetertsed in see if/how we could do that, but as it wasnt part of the assignment today, i just decided to put that question on the back burner.
23 lines
269 B
Python
23 lines
269 B
Python
from turtle import (
|
|
forward,
|
|
back,
|
|
left,
|
|
right,
|
|
penup,
|
|
pendown,
|
|
color,
|
|
)
|
|
|
|
forward(100)
|
|
left(360 * 1 / 4)
|
|
forward(100)
|
|
right(360 * 1 / 4)
|
|
forward(100)
|
|
left(360 * 1 / 4)
|
|
forward(100)
|
|
right(360 * 1 / 4)
|
|
forward(100)
|
|
left(360 * 1 / 4)
|
|
|
|
input()
|