SyntaxFix
Write A Post
Hire A Developer
Questions
while running: lenli = len(li) for i, elem in enumerate(li): thiselem = elem nextelem = li[(i+1)%lenli]