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

View File

@@ -5,18 +5,25 @@ from turtle import (
right,
penup,
pendown,
color,
color,color("red")
)
forward(100)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
forward(100)
right(360 * 2 / 5)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
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()