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

3 lines
52 B
Plaintext

a = [1, 2, 3, 4, 1, 2, 3, 4]
@show unique(a) Set(a)