Commit 1cf69db6 by BellCodeEditor

save project

parent f9de088f
Showing with 10 additions and 2 deletions
......@@ -4,4 +4,12 @@ ssssss=input("请出拳/石头/剪刀/布")
print(ssssss)
aaaaaaa=["石头","剪刀","布"]
s_q=random.choice(aaaaaaa)
print(s_q)
\ No newline at end of file
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