Boyer
Thursday, 5 September 2013
Construct a circular loop in python
Construct a circular loop in python
I want to loop a list over a cycle. ex: I have three elements in the array
L = [1,2,3] I want to get the output as
L[0],L[1]
L[1],L[2]
L[2],L[0]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment