this is my code:
import turtle
e = turtle.Turtle
e.speed(10)
d = 100
angle = 140
for i in range (1, 1000):
e.forward(d)
e.left(angle)
d = d - 1
when i run the code and this thing pop up.
Traceback (most recent call last):
File "C:\Users\User\Desktop\Python\TUrtle graphic.py", line 2, in <module>
e = turtle.Turtle
AttributeError: 'module' object has no attribute 'Turtle'