#!/usr/bin/env python s = "Hello world" # define the string print(s) print(len(s)) # prints the length of ... 如果省略了最後一個索引,切片則到字符串的結尾。
確定! 回上一頁