python-列表倒序输出
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
接收用户输入一个数n表示列表长度,接下来1至n行表示列表中的元素,最后要求倒序输出
输入格式
无
输出格式
倒叙输出列表里的元素
5
1
2
3
4
5
[5, 4, 3, 2, 1]
6
1
9
7
4
6
8
[8, 6, 4, 7, 9, 1]
Python暑假测试(袁)0901
- Status
- Done
- Rule
- IOI
- Problem
- 8
- Start at
- 2026-7-17 9:15
- End at
- 2026-7-17 11:15
- Duration
- 2 hour(s)
- Host
- Partic.
- 4