常見的型別轉換函數有 int() , float() , str() , list() , tuple() 。所以如果要對一個tuple做更改,可以先轉成list再做運算。 1 2 3 4 5 6 7. >>> f ...
確定! 回上一頁