Commit 10608298 by BellCodeEditor

save project

parent 7a162202
Showing with 3 additions and 3 deletions
name=input("玩家请出拳 (石头/剪刀/布):") name=input("玩家请出拳 (石头/剪刀/布):")
print("玩家输入的是"+name) print("玩家的是"+name)
import random import random
list=("石头","剪刀","布")# 玩家出拳 list=("石头","剪刀","布")# 玩家出拳
computer=random.choice(list) computer=random.choice(list)
print(computer) print("电脑出的是"+computer)
\ 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