#try to avoid input function a = [11,22,33,44,55,66] b = len(a)//2 a[:b],a[b:] = a[b:],a[:b] print(a)
Click the run button. Try to avoid input() function.