0

Attribute Error: partially initialized module 'turtle' has no attribute 'Turtle' (most likely due to a circular import)

starting code-->

import turtle from turtle import *

s = Screen() s.screensize(700, 1000) speed(5)

def myPosition(x, y): penup() goto(x, y) pendown()

pensize(2)

ending code-->

myshirt()
allhands()
mymouth()
alleyebrows()
alleyes()
ht()
input()
Shamal_Shine
  • 21
  • 1
  • 3

1 Answers1

1

Assumption: Your file is named turtle.py. When you do import turtle, it tries to import itself. Try renaming it.

Talon
  • 1,655
  • 1
  • 6
  • 14