<class 'str'> → 資料型態屬於字串類別(String class) <class 'int'> → 整數類別(Integer ... 因此, 要將一個字串正確轉為浮點數,該字串必須是語法正確的數字字串.
確定! 回上一頁