hangman.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:Hangman 作者: CosmicCoder96 项目源码 文件源码
def lose():
        state.clear()
        state.color("white")
        state.write("YOU LOSE!!", font=("Arial",50,"bold"))
        cordxy=letter[0].pos()
        temp=turtle.Turtle()
        temp.ht()
        temp.speed(0)
        temp.color("white")
        temp.penup()
        temp.setpos(cordxy[0],cordxy[1]+40)
        temp.pendown()
        temp.write("This was the movie:",align="left", font=("Arial", 30, "bold"))

        for i in range(len(movie)):
                if(movie[i] not in user_list_correct):
                        letter[i].color("red")
                        letter[i].write(movie[i],align="left", font=("Arial", 20, "bold"))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号