Commit adc9e06b by BellCodeEditor

auto save

parent 6281e86e
Showing with 3 additions and 5 deletions
...@@ -4,7 +4,5 @@ print("玩家出"+player) ...@@ -4,7 +4,5 @@ print("玩家出"+player)
PC=["石头","剪刀","布"] PC=["石头","剪刀","布"]
diannao=random.choice(PC) diannao=random.choice(PC)
print("电脑出"+diannao) print("电脑出"+diannao)
if player=="石头" and diannao=="剪刀" or player=="剪刀" and diannao=="布" or player=="布" and diannao=="石头" if chiose==PC:
print("哇,你竟然赢了!牛逼!") print()
else: \ No newline at end of file
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