Commit 46fb4245 by BellCodeEditor

save project

parent ffa17489
Showing with 13 additions and 2 deletions
......@@ -3,4 +3,15 @@ print("玩家出"+player)
import random
list=["石头,剪刀,布,RPG-10、八块腹肌小哥哥、凶兆"]
C=random.choice(list)
print(C)
\ No newline at end of file
print("电脑出拳:"+C)
if p in list:
if p==c:
print("平局")
elif p=="石头" and C=="剪刀"
print("你赢了!")
elif p=="剪刀" and C=="布"
print("你赢了!")
elif p=="布" and C=="石头"
print("你赢了!")
elif
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