Commit 5cadf945 by BellCodeEditor

save project

parent 01163ac9
Showing with 3 additions and 3 deletions
......@@ -6,11 +6,11 @@ computer=random.choice(list)
print("计算机出拳:"+computer)
if name==computer:
print("平局")
еlif name=="石头"and computer=="剪刀":
elif name=="石头" and computer=="剪刀":
print("恭喜你赢了")
еlif name=="布"and computer=="石头":
elif name=="布" and computer=="石头":
print("恭喜你赢了")
еlif name=="剪刀"and computer=="布":
elif 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