Commit 96cddd25 by BellCodeEditor

save project

parent 008a7cc8
Showing with 7 additions and 3 deletions
# 玩家出拳 # 玩家出拳
while True: import random
import random while True:
bb=input("玩家出拳(石头/剪刀/布)") bb=input("玩家出拳(石头/剪刀/布)")
if player in list:
break
else:
print("重新输")
print("出拳"+bb) print("出拳"+bb)
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
bbb=random.choice(list) bbb=random.choice(list)
......
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