|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- from turtle import *
-
- def space():
- penup()
- forward(30)
- pendown()
-
- def draw_h():
- left(90)
- forward(100)
- backward(50)
- right(90)
- forward(50)
- left(90)
- forward(50)
- backward(100)
- right(90)
-
- def draw_e():
- left(90)
- forward(100)
- right(90)
- forward(50)
- backward(50)
- right(90)
- forward(50)
- left(90)
- forward(30)
- backward(30)
- right(90)
- forward(50)
- left(90)
- forward(50)
-
- def draw_l():
- left(90)
- forward(100)
- backward(100)
- right(90)
- forward(50)
-
- def draw_o():
- penup()
- forward(40)
- pendown()
- circle(50)
- penup()
- forward(40)
- pendown()
-
- speed(0)
- draw_h()
- space()
- draw_e()
- space()
- draw_l()
- space()
- draw_l()
- space()
- draw_o()
- done()
|