having trouble with the color syntax

This commit is contained in:
jstok
2026-02-04 11:42:06 -05:00
parent 319be5f647
commit 55d0e6df87
2 changed files with 20 additions and 12 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
source .venv/bin/activate

View File

@@ -5,18 +5,25 @@ from turtle import (
right, right,
penup, penup,
pendown, pendown,
color, color,color("red")
) )
forward(100) forward(250)
right(360 * 2 / 5) right(360 * 4 / 9)
forward(100) forward(250)
right(360 * 2 / 5) right(360 * 4 / 9)
forward(100) forward(250)
right(360 * 2 / 5) right(360 * 4 / 9)
forward(100) forward(250)
right(360 * 2 / 5) right(360 * 4 / 9)
forward(100) forward(250)
right(360 * 2 / 5) right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9 )
forward(250)
right(360 * 4 / 9 )
forward(250)
input() input()