1293: 【11】列表排序▃sort_reverse
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:29
Solved:23
Description
有这样一个列表:lst = [11, 8, 2, 5, 9]
先升序排序后输出列表,再降序排序后输出列表。
Output
输出两行列表,第1行升序排序,第2行降序排序。
Sample Input Copy
Sample Output Copy
[2, 5, 8, 9, 11]
[11, 9, 8, 5, 2]