Commit 9503f82c by BellCodeEditor

auto save

parent a849bfad
Showing with 6 additions and 4 deletions
...@@ -6,9 +6,11 @@ list=["剪子","石头","布"] ...@@ -6,9 +6,11 @@ list=["剪子","石头","布"]
windows=random.choice(list) windows=random.choice(list)
print("Win10出:"+windows) print("Win10出:"+windows)
if player in list: if player in list:
if player==windows if player == windows:
print("一毛一样!") print("一毛一样!")
elif player=="石头",windows=="剪子" or player=="剪子",windows=="布" or player=="布",windows=="石头": elif player=="石头" and windows=="剪子" or player=="剪子"and windows=="布" or player=="布" and windows=="石头":
print("幺西!") print("幺西!")
else: else:
print("小辣鸡!") print("小辣鸡!")
\ No newline at end of file else:
print("重新输!")
\ 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