📜  在 python 代码示例中返回最多三个值

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

代码示例1
def maximum(a,b,c):
  max_val = a
  if b > max_val:
    max_val = b
  if c > max_val:
    max_val = c
  return max_val