python 코딩 : list 거꾸로 출력하기 a = [1,2,3,4,5] #1 for i in range(n-1,-1,-1): print(a[i]) #2 print(a[::-1]) print(a[4::-1]) #3 a.reverse() print(a) python, pyTorch 2021.07.02