Commit 9da00584 by BellCodeEditor

save project

parent 06c475a9
Showing with 5 additions and 2 deletions
# 玩家出拳 # 玩家出拳
import random
list=["石头","剪刀","布"]
player=input("提示:石头/剪刀/布,你出什么?") player=input("提示:石头/剪刀/布,你出什么?")
print("你出了:"+player) print("你出了:"+player)
\ No newline at end of file print("对方出拳:"+random.choice(list))
\ 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