Answers for "how to add something to a list"

9

add to python list

array.append(element)
Posted by: Guest on December-15-2019
0

add an element to list python

a=[8,5,6,1,7]
a.append(9)
Posted by: Guest on May-31-2020

Code answers related to "how to add something to a list"

Python Answers by Framework

Browse Popular Code Answers by Language