Commit cd456ee8 by BellCodeEditor

auto save

parent 4a18eb73
Showing with 5 additions and 3 deletions
......@@ -4,10 +4,12 @@ print(name)
a=["拳头","剪刀", "布"]
b=random.choice(a)
print(b)
if
if name in a:
if name==b:
print("很遗憾,平局了")
elif (name=="拳头" and b=="布") or (name=="布" and b=="剪刀") or (name==" 剪刀" or b=="拳头"):
print("恭喜,你输了")
else
print("垃圾,你赢了")
\ No newline at end of file
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