Ask coding questions

← Back to all posts
I'm getting an Import Error in the code
Hero2207

I have defined everything correctly even though i have getting an Import Error

Voters
Hero2207
Comments
hotnewtop
Coder100

You have to import turtle not dog. turtle is the module name and cannot be changed:

abc3354

The module you need to use is turtle
You cannot replace it by dog ;)

You also mispelled right

You can check a working repl there
https://repl.it/@abc3354/52085

InvisibleOne

The issue is that there isn't a module named dog, are you meaning turtle? like:

InvisibleOne

Try doing it on a turtle file or something with an out display