If you want to count the total number of characters in a string then you can use len() mtehod. st="abcabcabc". print("Total characters are:",len(st)).
確定! 回上一頁