Commit bdc54035 by BellCodeEditor

auto save

parent b3461049
Showing with 1 additions and 0 deletions
...@@ -3,6 +3,7 @@ import random ...@@ -3,6 +3,7 @@ import random
a=input("请出(剪刀/石头/布):") a=input("请出(剪刀/石头/布):")
print("玩家出"+a) print("玩家出"+a)
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
if
b=random.choice(list) b=random.choice(list)
print("计算机出"+b) print("计算机出"+b)
if a==b: if a==b:
......
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