Commit 55b888da by BellCodeEditor

save project

parent 1721f189
Showing with 7 additions and 4 deletions
# 玩家出拳
palyer=input("请出拳:(石头/剪刀/布)")
print("玩家出拳:"+palyer)
\ No newline at end of file
import random
chocice=input("请出拳:(石头/剪刀/布)")
comcho_list=["石头","剪刀","布"]
comchocice=random.choice(comcho_list)
print("玩家出拳"+chocice)
print("电脑出拳"+comchocice)
\ 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