No Attribute to turtle.pen()
RYANGUO1 (0)

I have a program that worked 100% in the actual python 3.6, but here it doesn't work at all. The program stops at the second line, because apparently turtle.Pen() isn't real. This is the beginning of the code. Any suggestions to fix the problem? BTW, I am using the turtle environment.

import turtle
t=turtle.Pen()
t.shape("turtle")

You are viewing a single comment. View All
skull_is_dull (40)

if you are trying to make the turtle called t you need to type t = turtle.Turtle()