Commit ab553cac by BellCodeEditor

auto save

parent 220fe62b
Showing with 13 additions and 0 deletions
import random
player=input("请输入石头剪刀布:")
list=["石头","剪刀","布"]
c=random.choice(list)
if player==c:
print("平局")
elif player=="石头" and c=="剪刀":
print("玩家赢")
elif player=="布" and c=="石头":
print("玩家赢")
\ 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