Commit d1470404 by BellCodeEditor

auto save

parent be60a882
Showing with 2 additions and 6 deletions
import random#导入rangom模块
player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player)#打印玩家结果
c_list = ["石头","剪刀","布"]#创建列表
computer = random.choice(c_list)#电脑出拳
print("电脑出拳:"+computer)#打印电脑出拳结果
\ No newline at end of file
print("玩家出拳:"+player)
\ 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