a=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]
b=a[:5]
c=a[3:]
d=a[1:]
e=a[5:]
f=a[:6]    
print(b)
print(c)
print(d)
print(e)
print(f)
print(b+c)
print((a+c)+(b+c)+(d+e))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: