Add items from list into array using fromlist method
suggest changeHere is an example:
my_array = array('i', [1,2,3,4,5])
c=[11,12,13]
my_array.fromlist(c)
# array('i', [1, 2, 3, 4, 5, 11, 12, 13])
So we see that the values 11,12 and 13 were added from list c
to my_array
.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents