My implementation of a range extraction function that takes a list of numbers in increasing order and returns a correctly formatted string in the range format.
Found this challenge at https://www.sololearn.com/Discuss/677451/challenge-range-extraction.