Text Size
Text Size
Exit Full Screen
Python Mini
Show
Source Code
View Source Code in Full Screen
Open in New Tab
from turtle import Turtle t = Turtle() t.color("red") t.begin_fill() t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.end_fill() # t.color("blue") t.begin_fill() t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.end_fill() # t.color("green") t.begin_fill() t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.end_fill() # t.color("pink") t.begin_fill() t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.end_fill()
turtle3.py
( around 45 lines python code )
Published By:
rickke
Published on
2017-08-09T15:00:43Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here