Might be doing this wrong? (Turtle graphics)

CrazyVideoGamez jasonanyilian at gmail.com
Mon Mar 25 15:37:02 EDT 2019


On Wednesday, March 20, 2019 at 8:29:42 PM UTC-4, MRAB wrote:
> On 2019-03-21 00:12, DL Neil wrote:
> > Jason,
> > 
> > On 21/03/19 12:34 PM, jasonanyilian at gmail.com wrote:
> >> So, I typed in code:
> >> from turtle import *
> >> forward(100)
> >> right(120)
> >> clear()
> >> It didn't work! It kept on saying that there was an indent and the first line was wrong. Help!
> > 
> > 
> > It would be most helpful if you gave us the exact error msg, in the same
> > way that you copy-pasted the source-code.
> > 
> > "Turtle" is not part of the Python 'core'. It has to be added from the
> > Python Standard Library (PSL).
> > 
> > My !GUESS! is that the Turtle library is not (yet) available on your
> > system. Did you first "pip" or otherwise download the library?
> > 
> > (I have, and the code works happily)
> > 
> > WebRefs: (modify to suit the version of Python in-use)
> > https://docs.python.org/3/installing/index.html?highlight=pip
> > https://docs.python.org/3/library/turtle.html
> > 
> It worked for me as written above (Python 3.7, Windows 10).

that's weird



More information about the Python-list mailing list