Commit 8a71c111 by BellCodeEditor

save project

parent 9675f8aa
Showing with 9 additions and 2 deletions
...@@ -5,4 +5,11 @@ RJ=random.choice(list) ...@@ -5,4 +5,11 @@ RJ=random.choice(list)
print(RJ) print(RJ)
player = input("出拳") player = input("出拳")
print(player) print(player)
\ No newline at end of file
if RJ==player:
print("平局")
elif player=="石妙娜" and RJ=="小李飞刀":
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