list append begining python code example Example: list adding to the begining python a=5 array = [2,3,4,5,6] array.insert(0,a) print(array)