Commit 38e3faa9 by BellCodeEditor

save project

parent bbb1ba57
Showing with 4 additions and 4 deletions
import random
# 玩家出拳 # 玩家出拳
s=input("输入你想出的(剪刀/石头/布)") s=input("输入你想出的(剪刀/石头/布)")
print("玩家出",s) print("玩家出",s)
import random list=["剪刀","石头","布"]
list=["剪刀/石头/布"]
d=random.choice(list) d=random.choice(list)
print("机器出",d) print("机器出",d)
print("玩家出"s) print("玩家出",s)
\ 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