RosettaCodeData/Task/Remove-duplicate-elements/Maple/remove-duplicate-elements-1...

6 lines
198 B
Plaintext

> L := [ 1, 2, 1, 2, 3, 3, 2, 1, "a", "b", "b", "a", "c", "b" ];
L := [1, 2, 1, 2, 3, 3, 2, 1, "a", "b", "b", "a", "c", "b"]
> [op]({op}(L));
[1, 2, 3, "a", "b", "c"]