Python 提供型態轉換(Type conversion) 函式:int(), float(), str(). ▸ int():將傳入之參數轉為整數,若參數為浮點數則將小數捨去(Truncate).
確定! 回上一頁