Commit a04abe4e by BellCodeEditor

auto save

parent 7c8b37e3
Showing with 19 additions and 0 deletions
...@@ -3,9 +3,12 @@ ...@@ -3,9 +3,12 @@
""" """
import turtle import turtle
a=turtle.Pen() a=turtle.Pen()
a.fillcolor("red")
a.shape("arrow") a.shape("arrow")
a.begin_fill()
for i in range(5): for i in range(5):
a.forward(200) a.forward(200)
a.left(144) a.left(144)
a.end_fill()
a.hideturtle() a.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
import turtle
alex = turtle.Turtle()
alex.shape("turtle")
for i in range(5):
alex.forward(100)
alex.left(72)
for aColor in ["red","blue","yellow","green","purple"]:
alex.color(aColor)
alex.forward(100)
alex.left(72)
\ No newline at end of file
sum=0
for i in range(0,101):
sum+=i;
print(sum)
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