Commit d63ea794 by BellCodeEditor

save project

parent 063b7fd0
Showing with 9 additions and 2 deletions
...@@ -5,4 +5,11 @@ list=["a","b","c"] ...@@ -5,4 +5,11 @@ list=["a","b","c"]
computer=random.choice(list) computer=random.choice(list)
print(computer) print(computer)
if player==computer: if player==computer:
print("pinpin") print("平")
\ No newline at end of file elif player=="a"and computer=="b":
print("赢")
elif player=="b"and computer=="c":
print("赢")
elif player=="c"and computer=="a":
print("赢")
else
\ 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