Commit b8d9e3bb by BellCodeEditor

auto save

parent 2d187157
Showing with 1 additions and 0 deletions
...@@ -5,6 +5,7 @@ import random ...@@ -5,6 +5,7 @@ import random
List=["石头","剪刀","布"] List=["石头","剪刀","布"]
letter=random.choice(List) letter=random.choice(List)
print(letter) print(letter)
i
if a==letter: if a==letter:
print("平局") print("平局")
elif (a==List[0] & letter==List[1])or(a==List[1] & letter==List[2])or(a==list[2] & letter==List[1]): elif (a==List[0] & letter==List[1])or(a==List[1] & letter==List[2])or(a==list[2] & letter==List[1]):
......
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