how to add to the end of an array python code example
Example: 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]
array = [1 , 2, 3]
print(array)
array.append(4)
print(array)
#[1 ,2 ,3]
#[1 ,2 , 3, 4]