Commit 02f4b397 by BellCodeEditor

save project

parent e0d64321
Showing with 8 additions and 3 deletions
......@@ -4,6 +4,11 @@ import random
list=["拳","布","剪"]
computer=random.choice(list)
print(computer)
if player==computer
print("和")
elf print=="拳"and computer=="剪"
print("你赢了")
elf print=="剪"and computer=="布"
print("你赢了")
elf print=="布"and computer=="拳"
print("你赢了")
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