Commit f5db9965 by BellCodeEditor

save project

parent 8bfa0910
Showing with 0 additions and 3 deletions
......@@ -4,7 +4,6 @@ while True:
print("您的出拳是"+player)
import random
list=["石头","剪刀","布"]
if player in list:
computer=random.choice(list)
print(computer)
if player==computer:
......@@ -13,6 +12,4 @@ while True:
print("你赢了")
else:
print("你输了")
else:
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