Commit 49e1b850 by BellCodeEditor

auto save

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