Commit 3c299f91 by BellCodeEditor

save project

parent dec1349c
Showing with 6 additions and 4 deletions
......@@ -4,8 +4,8 @@ import random
list = ["s","j","b"]
b = random.choice(list)
print("电脑出的是" + b)
if
if a==b:
if player in list:
if a==b:
print(平局)
elif (a=="s" and b=="j") or (a=="j" and b=="b") or (a=="b" and b=="s"):
print("你赢了")
......@@ -14,4 +14,6 @@ if
elif a=="j" and b=="s":
print("你出剪刀,电脑出石头,但是我把电脑打晕了,强制他出了布,所以你赢了")
elif a=="b" and b=="j":
print("你出布,电脑出石头,但是我把电脑打晕了,强制他出了石头,所以你赢了")
\ No newline at end of file
print("你出布,电脑出石头,但是我把电脑打晕了,强制他出了石头,所以你赢了")
else:
print("告诉你输入sjb里的一个了,你™der啊 还™出别的,你可真是个sjb神经病")
\ 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