Answers for "how to push data in array inpython"

5

append item to array python

data = []
data.append("Item")

print(data)
Posted by: Guest on May-08-2020
10

python add element to array

my_list = []

my_list.append(12)
Posted by: Guest on July-10-2020

Code answers related to "how to push data in array inpython"

Python Answers by Framework

Browse Popular Code Answers by Language