1var = 7
2array = [1,2,3,4,5,6]
3array.insert(0,var)
4print(array)
5# [7, 1, 2, 3, 4, 5, 6]
1# list.insert(before, value)
2list = ["a", "b"]
3list.insert(0, "c")
4print(list) # ['c', 'a', 'b']
1>>>var=7
2>>>array = [1,2,3,4,5,6]
3>>>array.insert(0,var)
4>>>array
5[7, 1, 2, 3, 4, 5, 6]