Commit 3088f201 by BellCodeEditor

save project

parent 286a9b5f
Showing with 8 additions and 2 deletions
...@@ -4,4 +4,10 @@ print("你出"+sb) ...@@ -4,4 +4,10 @@ print("你出"+sb)
import random import random
com=["石头","剪刀","布"] com=["石头","剪刀","布"]
sss=random.choice(com) sss=random.choice(com)
print("人机出了"+sss) print("人机出了"+sss)
\ No newline at end of file if sb==com
print("平局,奥利给")
elif (com=="石头" and sb=="剪刀")or (com=="剪刀"and sb=="布") or(com=="布" 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