text_plain_output_1.png
lst2 = [2, 6, 90, 30, 5]
print(lst2, 'Non appended')
lst2.append(5)
print(lst2, 'Appended')
lst2.append('Digits')
print(lst2, 'Appended')
lst3 = [2, 6, 90, 30, 5, 'Mudassir', 'Khan']
lst3.append('Digits')
print(lst3, 'Appended')