insert at the beginning of array py code example Example: insert at the beginning of array py array.insert(0,var)