为什么 python 中的乌龟在我导入时不起作用?

Why is the turtle in python not working when I import it?

这是我的代码

Import turtle

t = turtle.pen()

t.forward(50)

这是我得到的错误

Traceback (most recent call last) :
File "<pyshell#4>", Line 1, in <module>
t.forward(50)
AttributeError: 'dict' object has no attribute 'forward' 

Turtle.pen 用于 set/get 乌龟的笔属性但不用于绘制(请参阅帮助(turtle.pen)了解更多信息),以便绘制您需要的东西Turtle对象如下:

import turtle
tur=turtle.Turtle();
tur.forward(50);

正确答案是 "P",在 "pen"

中大写