python-by-example-150-chall.../challenges60-68/challenge-064.py

8 lines
116 B
Python
Raw Permalink Normal View History

2019-07-18 21:31:50 +08:00
import turtle
draw = turtle.Turtle()
draw.shape('turtle')
for i in range(5):
draw.forward(100)
draw.right(144)