return a if a < b else b if b < c else c
これってどっちに解釈されるの?
↓
return (a if a < b else b) if b < c else c
return a if a < b else (b if b < c else c)