Lists support concatenation.
list = [1, 2, 3] list += [4, 5] for i in range(len(list)): print("list[%d]: %d" % (i, list[i])) Output: list[0]: 1 list[1]: 2 list[2]: 3 list[3]: 4 list[4]: 5