Run
source_list = [8, 4, 7, 3, 6, 1, 9] for x in source_list[:-1]: print(x)
Output