Commit 09e8ea94 by BellCodeEditor

save project

parent 3088f201
Showing with 3 additions and 2 deletions
......@@ -5,9 +5,9 @@ import random
com=["石头","剪刀","布"]
sss=random.choice(com)
print("人机出了"+sss)
if sb==com
if sb==sss
print("平局,奥利给")
elif (com=="石头" and sb=="剪刀")or (com=="剪刀"and sb=="布") or(com=="布" and sb=="石头") :
elif (sss=="石头" and sb=="剪刀")or (sss=="剪刀"and sb=="布") or(sss=="布" and sb=="石头") :
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