Problem with importing turtle package

Trying to import turtle package and got this error.

I'm using python 3.7

Also when I'm running the same code from terminal using "python filename.py" it works fine

code:

import turtle

t = turtle.Pen()
t.forward(50)
t.left(90)

1 comment
Comment actions Permalink

This is unlikely to be an IDE-related issue.

Please see for more information: https://intellij-support.jetbrains.com/hc/en-us/articles/360010202240

0

Please sign in to leave a comment.