Common sorted list: Difference between revisions

Content added Content deleted
(→‎{{header|Python}}: Added a Python version.)
Line 225: Line 225:


print(
print(
sorted(nub(concat(
sorted(nub(concat([
[
[5, 1, 3, 8, 9, 4, 8, 7],
[5, 1, 3, 8, 9, 4, 8, 7],
[3, 5, 9, 8, 4],
[3, 5, 9, 8, 4],
[1, 3, 7, 9]
[1, 3, 7, 9]
])))
]
)))
)
)