x(可選)-需要轉換為浮點數的數字或字符串如果是字符串,則字符串應包含小數點 ... for integers print(float(10)) # for floats print(float(11.22)) # for string ...
確定! 回上一頁