My code:
a=[1,2,3,4,5] a[:4],a[4:]=a[4:],a[:4] print(a) Output: [5,5,1,2,3,4] So,I tried debugging it to find what is happening in the inside #a[:4],a[4:]=a[