# there are different ways to append lst = [1,2,3] # 1) using append lst.append(4) # 2) using Extend lst.extend([4,5,6,7])