How to append to the end of an empty list?,list1 = [i for i in range(n)]