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

8 lines
119 B
Python
Raw Normal View History

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