delete last value of array in pytohn code example Example: python remove last element from list record = record[:-1]