Commit 2d08f771 by BellCodeEditor

save project

parent 27cdd95c
Showing with 8 additions and 4 deletions
......@@ -4,9 +4,13 @@ print("玩家出拳为:"+waaa)
list=["剪刀","石头","布"]
hhc=random.choice(list)
print("计算机出拳为;"+hhc)
if waaa==hhc:
if waaa in list:
if waaa==hhc:
print("平局,阿巴阿巴")
elif (waaa=="布"and hhc=="石头")or(waaa=="石头"and hhc=="剪刀")or(waaa=="剪刀"and hhc=="布"):
elif (waaa=="布"and hhc=="石头")or(waaa=="石头"and hhc=="剪刀")or(waaa=="剪刀"and hhc=="布"):
print("你赢了,针不戳")
else:
print("你输了,鹅鹅鹅")
else:
print("你输了")
\ No newline at end of file
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