Commit 5dd1eea0 by BellCodeEditor

auto save

parent 220fe62b
Showing with 12 additions and 0 deletions
import random
a=input("石头,剪刀,布:")# 玩家出拳
print("出"+a)
b=["石头","剪刀","布"]
cc=random.choice(b)
print("出"+cc)
if a==cc:
print("平局")
print("胜利了")
else:
print("失败了")
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