how to append a value to a list first in python code example Example: append first to list pythno array.insert(0,var)