Answers for "append an array in python"

5

append item to array python

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

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

lsit append in python

List=[1,'a',"hello"]
List.append(True)
print(List)
# output: [1, 'a', 'hello', True]
Posted by: Guest on October-21-2020

Code answers related to "append an array in python"

Python Answers by Framework

Browse Popular Code Answers by Language