📜  def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):python 执行 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:54.978000             🧑  作者: Mango

代码示例1
def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):
    if max(yourLeft, yourRight) == max(friendsRight, friendsLeft) and min(yourLeft, yourRight) == min(friendsLeft, friendsRight):
        return True
    else:
        return False