Commit e8dce86f by BellCodeEditor

save project

parent da87a881
Showing with 4 additions and 0 deletions
......@@ -4,6 +4,7 @@ print("我出:"+player)
rist=["石头","剪刀","布"]
computer=random.choice(list)
print("系统出:"+=computer)
if player in list:
if player==computer:
print("平局")
elif player=="石头"and computer=="剪刀":
......@@ -14,3 +15,6 @@ print("系统出:"+=computer)
print("恭喜你,你赢了")
else:
print("很遗憾,你输了")
else:
print("错误")
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