Commit 1cf69db6 by BellCodeEditor

save project

parent f9de088f
Showing with 9 additions and 0 deletions
...@@ -5,3 +5,11 @@ print(ssssss) ...@@ -5,3 +5,11 @@ print(ssssss)
aaaaaaa=["石头","剪刀","布"] aaaaaaa=["石头","剪刀","布"]
s_q=random.choice(aaaaaaa) s_q=random.choice(aaaaaaa)
print(s_q) print(s_q)
if ssssss==s_q:
print("平局")
elif ssssss=="剪刀"and s_q=="布":
print("玩家赢")
elif ssssss=="石头"and s_q=="剪刀":
print("玩家赢")
else ssssss=="布" and s_q=="石头":
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