若數值帶有小數點(3.5、42.1 和 5.0)則稱為浮點數(floating-point number)。在 Python 中,數字 5 是整數,但如果您寫 5.0 則是浮點數。整數與浮點數是資料型別(data ...
確定! 回上一頁