使用這個函式的程式碼可依此來解讀回傳的值。 result = divide(x,y) if result is None: print('Invalid inputs')如果分子(numerator)為零,會發生什麼事?
確定! 回上一頁