mengembalikan maksimum tiga nilai dalam python

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
icy_milktea27