Commit 02d98677 by BellCodeEditor

save project

parent 4c7cd3b1
Showing with 5 additions and 0 deletions
# 石头剪刀布-玩家出拳
player =input("你想出嘛?")
print("玩家出拳"+player)
import random#导出模块
list = ["石头","剪刀","布"]#列表
cp = random.choice(list)#从列表中随机选一个
print("电脑出拳"+cp)
\ 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