에러 종류

    거북이 모양 에러 : TurtleGraphicError: There is no shape named …

    에러 메시지

    Traceback (most recent call last):

      File "<pyshell#12>", line 1, in <module>

        t.shape("turtl")

      File "<string>", line 1, in shape

      File "turtle.py", line 2776, in shape

        raise TurtleGraphicsError("There is no shape named %s" % name)

    turtle.TurtleGraphicsError: There is no shape named turtle

    발생 이유

    t.shape(“turtle”) 명령의 “turtle”이나 다른 거북이 모양 이름이 잘못됐을 때 발생합니다.

    해결 방법

    t.shape(“turtle”)에서 turtle 철자를 올바르게 수정합니다.

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.