Commit 873a31db by BellCodeEditor

auto save

parent c256c561
Showing with 15 additions and 2 deletions
# 我们都爱夸夸夸
\ No newline at end of file
# 我们都爱夸夸夸
import random
list=["剪刀","石头","布"]
b=random.choice(list)
a=input("你要出什么?")
print("你的出拳是:"+a)
print("")
if a in list:
if a==b:
print("平局")
elif (a=="剪刀" and b=="布") or ()
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