Commit a357c587 by BellCodeEditor

save project

parent 3621953b
Showing with 12 additions and 2 deletions
......@@ -3,4 +3,15 @@ player=input("请出拳(石头/剪刀/布)")
print("玩家出拳"+player)
list=["石头","剪刀","布"]
a=random.choice(list)
print("计算机出拳"+a)
\ No newline at end of file
print("计算机出拳"+a)
elif player==computer
print("平局")
elif player=="剪刀">list=="布"
print("我******")
elif player=="布">list=="石头"
print("我******")
elif player=="剪刀">list=="布"
print("你妈")
elif player=="布">list=="剪刀"
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