Commit ced4f98a by BellCodeEditor

save project

parent dd70a952
Showing with 8 additions and 3 deletions
player=input("你出什么拳?") player=input("你出什么拳?")
print("出的拳:"+player) print("出的拳:"+player)
import random import random
abc=["石头","剪刀","布"] computer=["石头","剪刀","布"]
print(random.choice(abc)) print(random.choice(computer))
if computer==player:
print("平局")
elif :
print("你输了")
else:
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