l1 = [1, 8, 7, 2, 21, 15] l1.append(45) # adds 45 at the end of the list. #it will append number at the end of list which number you will write.