Answers for "list append py"

2

list methods append in python

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.
Posted by: Guest on January-12-2022

Python Answers by Framework

Browse Popular Code Answers by Language