Commit 41fa02c4 by BellCodeEditor

auto save

parent 1754f9f4
Showing with 14 additions and 0 deletions
import turtle
turtle.penup()
turtle.goto(-100,100)
turtle.pendown()
for i in range(4):
turtle.forward(200)
turtle.right(90)
turtle.goto(0,100)
turtle.left(45)
turtle.goto(100,0)
turtle.
turtle.done()
\ No newline at end of file
...@@ -40,6 +40,7 @@ while True: ...@@ -40,6 +40,7 @@ while True:
# 按下鼠标 # 按下鼠标
if event.type == locals.MOUSEBUTTONDOWN: if event.type == locals.MOUSEBUTTONDOWN:
# 次数增加 # 次数增加
if event.Button==
click += 1 click += 1
if click % 2 == 0: if click % 2 == 0:
play_button = stop_img play_button = stop_img
......
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