Commit dcba4aec by BellCodeEditor

save project

parent 6684a5c0
Showing with 2 additions and 2 deletions
""" """
请使用turtle模块画出五角星 请使用turtle模块画出五角星
""" """
i=1 i=5
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
...@@ -13,7 +13,7 @@ for i in range(5): ...@@ -13,7 +13,7 @@ for i in range(5):
while True: while True:
pen.forward(i) pen.forward(i)
pen.left(90) pen.left(90)
i=i+1 i=i+5
pen.hideturtel() pen.hideturtel()
......
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