题目: 按相反的顺序输出列表的值。
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
-------------------------------------------------------
File Name: Python练习100【032】:反向输出II
Author: zhangzx
Date: 2020-01-02
-------------------------------------------------------
Change Activity:
2020-03-29
-------------------------------------------------------
"""
list_1 = [1, 2, 3, 4, 5, 6]
print(list_1[::-1])
---------------------------以下是输出-----------------------------
[6, 5, 4, 3, 2, 1]