if __name__ == '__main__':
    #切片
    str="good good study , day day up"
    print(str)
    print(str[::2])
    print(str[0:3])
    print(str[::-1])
    print(str[::-2])
    print(str[1:10:-1])
    print(str[1:10:1])