Commit 451fb65a by BellCodeEditor

save project

parent 220fe62b
Showing with 13 additions and 0 deletions
# 玩家出拳
a=input("s0/j2/b5"+" ")
print("出"+a)
import random
list=["s0","j2","b5"]
computer=random.choice(list)
print(computer)
if a==computer:
print()
elif (a=="s0" and computer=="j2")or(a=="j2" and computer=="b5")or(a=="b5" and computer=="s0"):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