K (ngn/k)K (ngn/k), 13 12 bytes
-1 byte from @ngn's savings
{x,/y,'x}"!"
Creates a function projection, with x
fixed to "!"
.
y,'x
pair-wise append an exclamation mark to each character in the inputx,/
flatten the list, using "!" as the seed (to prepend the leading "!")