快速將整個list 內容轉成int (整數). dst_list = list(map(int, src_list)). Python. Copy. 這個寫法非常漂亮,適用於python3, 利用map 把整個src_list 轉換成int 型 ...
確定! 回上一頁