Commit dee90d0e by BellCodeEditor

save project

parent 1e25919f
Showing with 7 additions and 0 deletions
......@@ -6,3 +6,9 @@ import random
li=["石头","剪刀","布"]
ia=random.choice(li)
print(ia)
if qo==ia
print("平局")
elif (qo=="石头"and ia=="剪刀")or(qo=="剪刀"and ia=="布")or(qo=="布"and ia=="石头")
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