add element in python list at first code example Example: append first to list pythno array.insert(0,var)