nowcoder-python/NP/NP26.py

15 lines
227 B
Python
Raw Normal View History

2022-10-26 15:23:50 +08:00
#!/usr/bin/env python3
# @author 轩辕龙儿
# @date 2022/10/26
# @file NP26.py
def solution():
num = [3, 5, 9, 0, 1, 9, 0, 3]
# print(num)
num.reverse()
print(num)
if __name__ == "__main__":
solution()