Commit b0c51da2 by BellCodeEditor

save project

parent 220fe62b
Showing with 10 additions and 0 deletions
play=input("出什么?")
input("玩家"+player)# 玩家出拳
import random
list=["石头/剪刀、布"]
comput=random.choice(list)
print(comput)
if play==comput:
print("平局")
elif play==石头 and comput:
print("玩家赢了")
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