When appending a tuple to a list, I can append (a + b + c) or (a, b + c) or (a + b, c) but appending (a, b ,c) causes the program to refuse to run

后端 未结 0 862
陌清茗
陌清茗 2021-01-03 04:21

Here\'s the code

def check_right_angle(a, b, c):
    if a**2 + b**2 == c**2:
        return True
    return False

def mn_to_abc(m, n):
    return m**2 - n**2         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题