Python 不能亂假設你想用哪一種進位法,所以就放棄了。 好吧,那怎麼辦?把數字轉換成字串就沒問題了! >>> len(str(304023)) 6. 我們在 len 函式當中,使用了 str 函 ...
確定! 回上一頁