Commit 62e732d3 by BellCodeEditor

save project

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