'TclError what shouldI do
I build my code in Colab and I have an error in the end. What's the problem? it is worth mentioning that I install pip install PythonTurtle in my account.
My code is:
import turtle
wn = turtle.Screen()
wn.bgcolor('lightgreen')
Ayhan = turtle.Turtle()
Ayhan.color('blue')
Ayhan.shape('turtle')
angle = 90
distance = 100
Ayhan.up()
for _ in range(18):
Ayhan.stamp()
Ayhan.forward(distance)
Ayhan.right(angle)
distance = distance + distance/10
angle = angle + 2
wn.exitonclick()
let me know what is my problem. Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
