4 lines
113 B
Elixir
4 lines
113 B
Elixir
iex(1)> length( ["apple", "orange"] ) # List
|
|
2
|
|
iex(2)> tuple_size( {"apple", "orange"} ) # Tuple
|
|
2
|