Commit 798d71ff by BellCodeEditor

save project

parent 220fe62b
Showing with 13 additions and 0 deletions
# 玩家出拳
quan=input("请出拳(石/剪/布:)")
print("玩家:"+quan)
Li=["石","剪","布"]
import random
j=random.choice(Li)
print("计算机:"+j)
if p==c:
print("平")
elif p="石"and c="剪" or(....)
or(....):
print("赢")
else:print("输")
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