Commit f1be7d29 by BellCodeEditor

save project

parent 8de4372d
Showing with 19 additions and 0 deletions
import random
zxw=input("请你出拳:石头/剪刀/布")
print("我出拳:"+zxw)
list=["布","剪刀","石头"]
j=random.choice(list)
print(j)
if zxw == j:
print("竟然跟你打成平局")
elif zxw == "剪刀" and j == "布":
print("可恶,你赢了")
elif zxw == "石头" and j == "剪刀":
print("可恶,又让你赢了,气死我了,我槽")
elif zxw=="布" and j=="石头":
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