Commit acb18d27 by BellCodeEditor

save project

parent 2c9125b7
Showing with 7 additions and 0 deletions
......@@ -6,3 +6,9 @@ print("玩家出的是:",player)
list1 = ("石头","剪刀","布")
list2 = r.choice(list1)
print("计算机出的是:",list2)
if player == list2
print("平局")
elif (player == "石头" and list2 "剪刀") or (player == "剪刀" and list2 "布") or (player == "布" and list2 "石头")
print("玩家胜利")
elif :
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