Commit 10dd38c7 by BellCodeEditor

save project

parent d98939a6
Showing with 15 additions and 2 deletions
# 玩家出拳
import random
py=input("请输入(石头,剪刀,布):")
print("玩家出:"+py)
\ No newline at end of file
list=["石头","剪刀","布"]
co=random.choice(list)
if py in list:
print("玩家出:"+py)
print("BUG出:"+co)
if py==co:
print("你和BUG打成了平手")
elif (py=="石头" and co=="剪刀") or (py=="剪刀" and co=="布") or(py=="布" and co=="石头"):
print("bug已被清除")
else:
print("@$W@%错误!^&*%&#%@%错误!YU$#$$#错误!$!@^%%%$$%错误!^$##@!%#@!$错误!BUG侵入")
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