Commit 62e732d3 by BellCodeEditor

save project

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