Commit 2ca3b32d by BellCodeEditor

save project

parent 517f54a3
Showing with 2 additions and 5 deletions
import random import random
player=input("请出拳:石头/剪刀/布")# 玩家出拳 player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player) print("玩家出拳:"+player)
s=["石头","剪刀","布"] \ No newline at end of file
p=random.choice(s)
print("机器出拳:"+p)
\ 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