Commit a33b84fa by BellCodeEditor

save project

parent 942f00e1
Showing with 5 additions and 2 deletions
# 玩家出拳 # 玩家出拳
import random import random
list=["石头","剪刀","布"]
a=input("请出石头/剪刀/布") a=input("请出石头/剪刀/布")
print("你出了:"+a) print("你出了:"+a)
\ No newline at end of file b=random.choice(list)
print("电脑出"+b)
\ 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