Skip to content

Instantly share code, notes, and snippets.

@ak4zh
Last active April 30, 2017 19:09
Show Gist options
  • Save ak4zh/d3dd5c8531bf554324dd270f10705f4c to your computer and use it in GitHub Desktop.
Save ak4zh/d3dd5c8531bf554324dd270f10705f4c to your computer and use it in GitHub Desktop.
18.py
import turtle
turtle.hideturtle()
turtle.color('yellow')
turtle.begin_fill()
turtle.width(5)
turtle.penup()
turtle.goto(0,0)
turtle.pendown()
turtle.forward(150)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(150)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.end_fill()
turtle.color('black')
turtle.width(5)
turtle.goto(0,0)
turtle.forward(150)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(150)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.penup()
turtle.goto(0,0)
turtle.forward(75)
turtle.left(90)
turtle.forward(15)
turtle.right(90)
turtle.pendown()
turtle.color('red')
turtle.write( 'PYTHON', move= False, align="center", font=("comic sans", 22, "bold") )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment