Commit 07bbb79b by BellCodeEditor

save project

parent 23dfff73
Showing with 14 additions and 0 deletions
# 玩家出拳
import random
a = [1,2,3]
q = input("1/2/3")
int(q)
w=random.choice(a)
if q==w:
print("平")
else:
if q == 1 and w == 3 or q<w:
print("win")
else:
print("loss")
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