Commit 9b666245 by BellCodeEditor

save project

parent 04e717b8
Showing with 13 additions and 0 deletions
import turtle
import random
pen=turtle.pen()
list=["red","yellow","pink"]
color=random.choice(list)
pen.fillcolor(color)
pen.begin_fill()
for i in range(3):
pen.forward(200)
pen.left(120)
pen.end fill()
turtle.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment