字串 轉整數 n = int('10') #數字轉字串 s1 = str(25) s2 = str(1.37) #轉成浮點數 f1 = float(10) f2 = float('3.14') #轉成布林的 True b1 = bool('True') b2 ...
確定! 回上一頁