RosettaCodeData/Task/Remove-duplicate-elements/Julia/remove-duplicate-elements.julia

3 lines
52 B
Text
Raw Permalink Normal View History

2018-06-22 20:57:24 +00:00
a = [1, 2, 3, 4, 1, 2, 3, 4]
@show unique(a) Set(a)