运行代码后,为什么“ Turtle”图像会出现并消失?

时间:2019-07-16 23:00:37

标签: 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)

0 个答案:

没有答案