Commit 804276db by BellCodeEditor

save project

parent 136d0b61
Showing with 14 additions and 2 deletions
hello.window.py
\ No newline at end of file
start=0
hide()
goto(-125,-50)
setheading(90)
while True:
if start==1:
show()
forward(4) # 砖块向前移动
if getx()>125 or getx()<-125: # 如果砖块的移动范围超出-125至125
# 用for循环使砖块按半圆的轨迹移动
for i in range(40):
left(3)
forward(4)
\ 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