Commit 997a687f by BellCodeEditor

auto save

parent 482028df
Showing with 4 additions and 3 deletions
...@@ -5,9 +5,9 @@ import random ...@@ -5,9 +5,9 @@ import random
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
c=random.choice(list) c=random.choice(list)
print(c) print(c)
if a==c: if a==c:
print("pingju") print("pingju")
elif ((a=="剪刀")and(c=="石头"))or((a=="石头")and(c=="布"))or((a=="布")and(c=="剪刀")): lif ((a=="剪刀")and(c=="石头"))or((a=="石头")and(c=="布"))or((a=="布")and(c=="剪刀")):
print("菜b") print("菜b")
elif ((c=="剪刀")and(a=="石头"))or((c=="石头")and(a=="布"))or((c=="布")and(a=="剪刀")): e lif ((c=="剪刀")and(a=="石头"))or((c=="石头")and(a=="布"))or((c=="布")and(a=="剪刀")):
print("作弊战士") 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