generated from mwc/lab_turtle
experimented with turtle forward and color
I felt confused while doing this programming. The reason behind this was that I kept forgetting to do ls and then return, forgetting this step didn't pull up any files becuase I didn't confirm it with ls.
This commit is contained in:
@@ -6,9 +6,10 @@ from turtle import (
|
||||
penup,
|
||||
pendown,
|
||||
color,
|
||||
fillcolor,
|
||||
)
|
||||
|
||||
forward(100)
|
||||
forward(300)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
@@ -18,5 +19,6 @@ forward(100)
|
||||
right(360 * 2 / 5)
|
||||
forward(100)
|
||||
right(360 * 2 / 5)
|
||||
|
||||
color("red")
|
||||
fillcolor("blue")
|
||||
input()
|
||||
|
||||
Reference in New Issue
Block a user