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,
|
penup,
|
||||||
pendown,
|
pendown,
|
||||||
color,
|
color,
|
||||||
|
fillcolor,
|
||||||
)
|
)
|
||||||
|
|
||||||
forward(100)
|
forward(300)
|
||||||
right(360 * 2 / 5)
|
right(360 * 2 / 5)
|
||||||
forward(100)
|
forward(100)
|
||||||
right(360 * 2 / 5)
|
right(360 * 2 / 5)
|
||||||
@@ -18,5 +19,6 @@ forward(100)
|
|||||||
right(360 * 2 / 5)
|
right(360 * 2 / 5)
|
||||||
forward(100)
|
forward(100)
|
||||||
right(360 * 2 / 5)
|
right(360 * 2 / 5)
|
||||||
|
color("red")
|
||||||
|
fillcolor("blue")
|
||||||
input()
|
input()
|
||||||
|
|||||||
7
poetry.lock
generated
Normal file
7
poetry.lock
generated
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand.
|
||||||
|
package = []
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
lock-version = "2.1"
|
||||||
|
python-versions = ">=3.10,<4.0"
|
||||||
|
content-hash = "7b8fc01b274bd807fb00372bbc8e138330f15ae7978ed61e180f3b17ec076725"
|
||||||
Reference in New Issue
Block a user