Commit d736271e by BellCodeEditor

save project

parent 12c74980
Showing with 4 additions and 0 deletions
import random
list=["石头","剪刀","布"]
compile=random.choice(list)
player=input("请出拳:")
if player=="剪刀" and compile=="布":
print("恭喜你,获胜了!")
elif player=="石头" and compile=="剪刀":
......
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