Hi, welcome to the forum!
You’re hitting a common issue with lists of integers being printed as strings. Please have a look at this link.
Your code works as expected. Try this:
Math.double_each([1000, 2000, 3000]) |> IO.inspect()
Hi, welcome to the forum!
You’re hitting a common issue with lists of integers being printed as strings. Please have a look at this link.
Your code works as expected. Try this:
Math.double_each([1000, 2000, 3000]) |> IO.inspect()