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

3 lines
52 B
Julia
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
a = [1, 2, 3, 4, 1, 2, 3, 4]
@show unique(a) Set(a)