Commit eae5820d by BellCodeEditor

save project

parent ae10a65e
Showing with 7 additions and 1 deletions
......@@ -4,4 +4,9 @@ list = ["石头","剪","布"]
b = random.choice(list)
print(player)
print(b)
if print==b
print("平局")
elif (player=="石头"and b=="剪")or() player=="剪"and b=="布")or() player=="布"and b=="石头"):
print("你赢下了比赛")
else:
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