Skip to content

Instantly share code, notes, and snippets.

@LuanComputacao
Created March 4, 2022 02:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuanComputacao/c374649f1cbd2c1a180d9e80ce8610fe to your computer and use it in GitHub Desktop.
Save LuanComputacao/c374649f1cbd2c1a180d9e80ce8610fe to your computer and use it in GitHub Desktop.
Oi Baby!
import turtle
turtle.speed(10)
turtle.bgcolor('black')
turtle.pensize(3)
def func():
for _ in range(200):
turtle.right(1)
turtle.forward(1)
turtle.color('red', 'pink')
turtle.begin_fill()
turtle.left(140)
turtle.forward(111.65)
func()
turtle.left(120)
func()
turtle.forward(111.65)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment