Commit de364355 by BellCodeEditor

save project

parent 9769e46c
Showing with 4 additions and 4 deletions
import random import random
a=input("请出拳:石头/剪刀/布")# 玩家出拳 a=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+a) print("玩家出拳:"+a)
a=("石头","剪刀","布") d=("石头","剪刀","布")
c=random.choice(a) c=random.choice(d)
print("计算机输入"+c) print("计算机出拳:"+c)
\ No newline at end of file \ 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