Python zdobądź wszystkie elementy złożone z tablicy

for x in y[:-1]
MrStonkus