-- Homework 25, challenge -- solution module. local M = {} function M.shout(s) return string.upper(s) .. "!" end function M.echo(s, n) local parts = {} for i = 1, n do parts[i] = s end return table.concat(parts, " ") end function M.reverse_words(s) local words = {} for word in string.gmatch(s, "%S+") do table.insert(words, 1, word) end return table.concat(words, " ") end return M