Commit aff82a5c by BellCodeEditor

save project

parent 75e22068
Showing with 7 additions and 2 deletions
...@@ -7,4 +7,10 @@ print("计算机出拳:"+computer) ...@@ -7,4 +7,10 @@ print("计算机出拳:"+computer)
if name==computer: if name==computer:
print("平局") print("平局")
еlif name=="石头"and computer=="剪刀": еlif name=="石头"and computer=="剪刀":
print("恭喜你赢了") print("恭喜你赢了")
\ No newline at end of file еlif name=="布"and computer=="石头":
print("恭喜你赢了")
еlif name=="剪刀"and computer=="布":
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