Want to learn?
Elixir Course Online | Prograils - Software Development Company
Lists exercises
Exercises
Create following lists using pipe and concatenation operators:
[]
,[:one]
,[1, 2, 3]
,["hello", "world"]
.
Use list delete operator to transform lists in the following way:
[1, 2, 2, 3] -> [1]
,[1, 1, 1] -> []
,[1, 2, 3, 2, 3, 4] -> [1, 2, 4]
.
Play around in
IEx
with List module functions.