Python string supports slicing to create substring. Note that Python string is immutable, slicing creates a new ... s1 = s[8:1:-1] print(s1).
確定! 回上一頁