I think you're looking for a[-1::-1] . The first index gives the start, the second index gives the end, and you want to start at index -1. – ...
確定! 回上一頁