Commit 5cde2242 by BellCodeEditor

auto save

parent 3b7515f0
Showing with 4 additions and 3 deletions
import random import random
player=input("请出拳:石头/剪刀/布")# 玩家出拳 player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player) print("玩家出拳:"+player)
pp=["石头","剪刀","布"] cptbtptpbcptbtptp=["石头","剪刀","布"]
hua=random.choice(pp) lss=random.choice(cptbtptpbcptbtptp)
print("人机出"+"hua") print("人机出"+lss)
\ 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