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