Commit 04e73b2b by BellCodeEditor

save project

parent e06ab51c
Showing with 3 additions and 1 deletions
import random
# 玩家出拳
player=input("你出啥???????(石头/剪刀/布)")
player=input("你出啥??????????(石头/剪刀/布)")
print("你出:"+player)
list=["石头","剪刀","布"]
if player in list:
print("there is no such choice,please try again.")
comp=random.choice(list)
print("电脑出:"+comp)
if comp==player:
......
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