my_list = ['123', True, 123, 123.145, 12, 23, 34, 45, 56, 67, 78, 89, 90]
new_list = my_list[0: -6: 1]
print(f"经过切片后的内容为{new_list}")
my_tuple = (12334,'123', True, False, 0.314, 14.151314, 'hanyunxiao')
new_my_tuple = my_tuple[:]
print(f"经过切片后的内容为{new_my_tuple}")
my_str = " LiuJin Love HanYunXiao Very Much Very Very Much"
new_str = my_str[: :2]
print(f"经过切片后的内容为{new_str}")
my_list = ['123', True, 123, 123.145, 12, 23, 34, 45, 56, 67, 78, 89, 90]
new_list = my_list[: :-1]
print(f"经过切片后的内容为{new_list}")
hei_str = "万过薪月,员序程马黑来,nohtyp学"
new_str = hei_str[::-1]
print(new_str)
new_str = new_str[9:14:1]
print(new_str)
hei_str_list = hei_str.split(',')
print(hei_str_list)
new_list = hei_str_list[1][::-1]
print(new_list)
new_new_str = new_list.replace('来', ' ')
print(new_new_str)
new_new_str = new_new_str.strip(' ')
print(new_new_str)
