Commit 97639b5d by BellCodeEditor

save project

parent 031fe9c5
Showing with 6 additions and 14 deletions
if player in list : import turtle
if player==computer: pen =turtle.Pen()
print("平局") pen.color("red")
elif player=="石头"and computer=="剪刀": pen.write("死去元知万事空\n但悲不见九州同\n王师北定中原日\n家祭无忘告乃翁",font=("Times",40,"normal"))
print("恭喜,你赢了") pen.hideturtle()
elif player=="剪刀"and computer=="布" turtle.done()
print("恭喜,你赢了)
elif player==""and computer=="石头":
print("恭喜你,你赢了")
else:
print("很遗憾,你输了")
else:
print("大傻逼连这个都打错")
\ 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