Contact: aviboots(AT)netvision.net.il
39,895 questions
51,826 answers
573 users
lst = [1, 2, 3, 4, 5] lst = lst[1:] + lst[:1] print(lst) ''' run: [2, 3, 4, 5, 1] '''