Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from turtle import *
- shape("turtle")
- speed(2)
- pensize(6)
- # Drawing 'T' letter
- color('white')
- back(300)
- color('red')
- left(90)
- forward(200)
- left(90)
- forward(125)
- left(180)
- forward(250)
- # Taking position to draw 'O'
- color("white")
- forward(100)
- # Drawing 'O' letter
- color("red")
- N = 20
- angle = 360 / N
- for i in range(N):
- forward(34)
- right(angle)
- # Taking position to draw 'M'
- color("white")
- left(90)
- forward(30)
- right(90)
- forward(200)
- right(90)
- forward(230)
- right(180)
- # Drawing 'M' letter
- color("red")
- forward(200)
- right(140)
- forward(100)
- left(100)
- forward(100)
- right(140)
- forward(200)
- # Gaining time
- color("white")
- forward(100)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement