float('111.2222') 111.2222 >>> float('111.0') 111.0 >>> float('111') 111.0 int 在Python 中將字串轉換為int. python數字轉字符串的實現方法:1、使用格式化字符 ...
確定! 回上一頁