Commit 0038fd4f by BellCodeEditor

save project

parent 09e482fc
Showing with 3 additions and 3 deletions
...@@ -24,11 +24,11 @@ while True: ...@@ -24,11 +24,11 @@ while True:
# 接收到退出事件后退出程序 # 接收到退出事件后退出程序
exit() exit()
x += 30 # x += 30 #
if setheading =="right" if setheading =="right":
x +=30 x +=30
elif setheading =="left" elif setheading =="left":
x -=30 x -=30
elif setheading =="up" elif setheading =="up":
y -=30 y -=30
else: else:
y +=30 y +=30
......
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