reverse a list python items code example Example: how to reverse a list in python my_list = [1, 2, 3, 4, 5] my_list.reverse()