Answers for "how to add an item to an array in python"

5

append item to array python

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

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

how to add array and array python

capitals = ['A', 'B', 'C']
lowers = ['a', 'b', 'c']

alphabets = capitals + lowers
Posted by: Guest on August-19-2021

Code answers related to "how to add an item to an array in python"

Python Answers by Framework

Browse Popular Code Answers by Language