标签: python python-2.7 pycharm
我刚刚开始学习Python Turtle,但是一旦运行它,图像就会在运行代码后出现并消失。我在Macbook计算机上使用Pycharm。
import turtle tim = turtle.Turtle() tim.color('red') tim.pensize(5) tim.shape('turtle') tim.forward(100)