Commit 89260141 by BellCodeEditor

save project

parent 08efb969
Showing with 6 additions and 1099 deletions
player=input("玩家出拳/剪刀/布")
print("玩家出拳"+player)#
import random
abc=["剪刀","石头","布"]
ccc=random.choice(abc)
print("电脑出拳"+ccc)
if player==ccc:
print("平局")
elif(player=="剪刀" and ccc=="布") or (player=="石头" and ccc=="剪刀") or (player=="剪刀" and ccc=="石头"):
print("玩家赢")
else:
print("玩家输")
import turtle
pen=turtle.Pen()
pen.write("傻逼",font=("Times",12,"normal"))
pen.hideturtle()
turtle.done()
\ 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