Commit 8f3a12c1 by BellCodeEditor

save project

parent 9b2d5d51
Showing with 12 additions and 5 deletions
import random
player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player)
list=("石头""剪刀""布")
computer
\ No newline at end of file
player=input("同志,请出拳:石头/剪刀/布")# 玩家出拳
print("布尔什维克出拳:"+player)
list=["石头","剪刀","布"]
computer = random.choice(list)
print("布尔什维克出拳:"+player)
print("资本家出拳:"+computer)
if player == computer
print("平局")
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