... n +sum print(sum) str1 = "b532x2x3c4b5" sum_str(str1) #調用函數. 運行結果: 技術分享圖片. python處理字符串:將字符串中的數字相加求和 ...
確定! 回上一頁