Another Silver Solution

Slightly different solution than previously posted. This one illustrates the use of another String function (removeLast) to trim the last character of the string and remove an extraneous comma. Also, when iterating through the dictionary, there is no need to specify a variable for the key, since we do not care about the keys. So, the expression uses a wildcard “_” instead.