3 Antworten
+ 5
print(list_name[::-1])
for more info
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2453/
+ 5
Refer this 👇👇
https://code.sololearn.com/c0vbdQUJN7rS/?ref=app
0
Also you can use in place method list_name.reverse() to reverse your list and then print it.