Answers for "write a python program to append a new item to the end of the array."

1

how to add to the end of an array python

array = [1 , 2, 3]
print(array)

array.append(4)
print(array)

#[1 ,2 ,3]
#[1 ,2 , 3, 4]
Posted by: Guest on June-22-2020

Code answers related to "write a python program to append a new item to the end of the array."

Python Answers by Framework

Browse Popular Code Answers by Language