spam cat bat rat elephant spam1 spam spam2 spam -1 spam3 spam1 spam2 p

1
2
3
4
5
spam = ['cat', 'bat', 'rat', 'elephant']
spam1 = spam[1:2]
spam2 = spam[2:-1]
spam3 = spam1 + spam2
print(spam3)