您可以使用len() 獲取給定字串、陣列、清單、元組、字典等的長度。 ... str1 = "Welcome to Python Tutorials" print("The length of the string is ...
確定! 回上一頁