python arrays append push code example
Example 1: python add element to array
my_list = []
my_list.append(12)
Example 2: append element an array in python
my_input = ['Engineering', 'Medical']
my_input.append('Science')
print(my_input)
my_list = []
my_list.append(12)
my_input = ['Engineering', 'Medical']
my_input.append('Science')
print(my_input)