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() for counter in range(3): t.forward(100) t.left(120) t.end_fill() t.color("green") t.begin_fill() t.right(120) for counter in range(3): t.forward(100) t.left(120) t.end_fill() t.color("blue") for counter in range(2): t.forward(100) t.left(120) t.color("blue") t.begin_fill() t.right(120) for counter in range(3): t.forward(100) t.left(120) t.end_fill()
pyramid2.py
( around 26 lines python code )
Published By:
Valencia868
Published on
2023-01-17T17:39:52Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here