[Tutor] cyclically rotate a seq

Kent Johnson kent37 at tds.net
Thu Mar 17 14:44:52 CET 2005

kevin parks wrote:
> Hi folks,
> I am trying to cyclically rotate a seq until it reached the beginning 
> stage again.
> I would like to be able 

BTW collections.deque supports most list methods and rotate():


More information about the Tutor mailing list