Anonymous user
Department numbers: Difference between revisions
→{{header|Python}}: Its a perm!
(→{{header|Ruby}}: Added Ruby) |
(→{{header|Python}}: Its a perm!) |
||
Line 1,400:
c = 1
for p, f, s in permutations(range(1, 8), r=3):
if
print(f"{c:>3}: {p:^6} {f:^4} {s:^10}")
c += 1
|