RosettaCodeData/Task/Remove-duplicate-elements/Crystal/remove-duplicate-elements.crystal

3 lines
62 B
Text
Raw Permalink Normal View History

2020-02-17 23:21:07 -08:00
ary = [1, 1, 2, 2, "a", [1, 2, 3], [1, 2, 3], "a"]
p ary.uniq