Created
December 19, 2021 21:32
-
-
Save CodeMaster7000/7934486880837d0e9bb3e84e1efdb92f to your computer and use it in GitHub Desktop.
An impressive turtle star with just a few lines of code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from turtle import * | |
speed=0 | |
color('red', 'yellow') | |
begin_fill() | |
while True: | |
forward(200) | |
left(170) | |
if abs(pos()) < 1: | |
break | |
end_fill() | |
hideturtle() | |
done() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment