热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_53014583
bhnksdvijsoce
5 年前
trueweixin_53014583

还有:
if 球8.distance(玩家)<1:
s=s+1
球8.hideturtle()
球8.goto(random.randint(-500,500),400)
球8.showturtle()
#让球归位并积分
if 球1.ycor()<0:break
if 球2.ycor()<0:break
if 球3.ycor()<0:break
if 球4.ycor()<0:break
if 球5.ycor()<0:break
if 球6.ycor()<0:break
if 球7.ycor()<0:break
if 球8.ycor()<0:break
#探测没接住的球
print("游戏结束")
print("分数",s)

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
递归真是一个神奇的东西。太神奇了#来自小白的感叹
立即登录