Commit adf1e53e by BellCodeEditor

save project

parent 220fe62b
Showing with 13 additions and 0 deletions
ssr=input("你想出剪刀,石头,布")
print(ssr)
import random
list=["石头","剪刀","布"]
c=random.choice(list)
print(c)
if c==ssr:
print("平局")
elif c=="石头"and s=="剪刀" or c=="剪刀" and s=="布" or c=="布" and "石头":
print("电脑赢")
else:
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