Python 函數中,沒有return語句時,默認return一個None 對象;多個return語句時,運行到第一 ... def fun(a, b): ... if a > b: ... return a ... else: ... return b.
確定! 回上一頁