99 Elm Problems/Problem 22/Solutions

Solution 1: Using range