Commit 6281e86e by BellCodeEditor

auto save

parent 220fe62b
Showing with 11 additions and 0 deletions
import random
player=input("出神马?")
print("玩家出"+player)
PC=["石头","剪刀","布"]
diannao=random.choice(PC)
print("电脑出"+diannao)
if player=="石头" and diannao=="剪刀" or player=="剪刀" and diannao=="布" or player=="布" and diannao=="石头"
print("哇,你竟然赢了!牛逼!")
else:
if player==diannao
\ 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