lst = [0, 4, 3, 2, 1, 5]
to rotate it into position:
i = lst.index(1) lst = lst[i:] + lst[:i]
1.4m articles
1.4m replys
5 comments
56.9k users