Commit 6096c8f8 by BellCodeEditor

auto save

parent 6ff563f7
Showing with 9 additions and 6 deletions
import random
# 玩家出拳
name=input("chq")
print(name+"玩家")
player=input("chq")
print(player+"玩家")
list=["石头","剪刀","布"]
c=random.choice(list)
print(c)
if player==c
elif :
\ No newline at end of file
if player==c
print("平"):
elif(player=="石头"and c=="剪刀" or player=="布"and c=="石头" or player=="剪刀"and c=="布"):
print("赢")
else:
print("shu")
\ 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