Return a new list rotated left by steps positions without changing item order within each part. Negative steps rotate right. Wrap steps modulo the list length, preserve duplicates and return [] for an empty list.
Optional website statistics, Google Analytics/Clarity and advertising (Meta/Google) help measure and support this free site. Your choice does not limit learning. Privacy policy.
These services may use cookies and receive browsing and device information. Change your choice later from the Privacy Policy page.