Commit cc88e58b by BellCodeEditor

auto save

parent 51684db5
Showing with 4 additions and 55 deletions
import random import random
player=input("请出拳(石头/剪刀/布):")# 玩家出拳 player=input("请出拳(石头/剪刀/布):")# 玩家出拳
list = ["石头","剪刀","布"] list = ["石头","剪刀","布"]
...@@ -61,7 +12,4 @@ if player in list: ...@@ -61,7 +12,4 @@ if player in list:
else: else:
print("很遗憾,你输了") print("很遗憾,你输了")
else: else:
print("输入错误") print("输入错误")
\ No newline at end of file
player=input("请出拳:石头/剪刀/布")# 玩家出拳 player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player) print("玩家出拳:"+player)C
\ No newline at end of file \ 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