0
How to make a really nice turtle animation in Python without LOGO!!!
Type this code in Python 3.6 shell and not in SoloLearn code playground. This code will work in Python shell only.Type this code in script mode and not in interactive mode. from turtle import* shape ("turtle") bgcolor ("blue") pensize (10) pencolor ("red") for i in range (wheel): begin_fill (); rt (90); fd (200); lt (120); fd (200); lt (120); fd (200); end_fill () fd (200) PS : (200); end _fill () is in continuation of the previous line. I have taken this code from a video published in Youtube
1 Odpowiedź
+ 3
Unfortunately, Code Playground here does not support Graphical User Interface in Python, but that's a great animation.