All public logs
Jump to navigation
Jump to search
Combined display of all available logs of razwiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 12:09, 12 July 2026 Razzi talk contribs created page Blog: 2026-07-12 (Created page with "Making distinct pairs out of a group of 15 <pre> In [33]: def permute(l, n): ...: copy = list(l) ...: new = [] ...: index = 0 ...: for _ in range(len(l)): ...: new.append(copy.pop(index)) ...: index = (index + n) % max(len(copy), 1) ...: return new ...: In [34]: permute(ns, 1) Out[34]: [1, 3, 5, 7, 9, 11, 13, 15, 4, 8, 12, 2, 10, 6, 14] In [35]: permute(ns, 0) Out[35]: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10,...")