python 中的int()函數用於將一個字符串或數字轉換為整型。 語法. 以下是int() 方法的語法: class int(x, base=10). 參數. x -- 字符串或數字。
確定! 回上一頁